PHPExcel_Cell
category | PHPExcel |
---|---|
package | PHPExcel_Cell |
copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
__clone()
__construct(mixed $pValue, string $pDataType, \PHPExcel_Worksheet $pSheet)
mixed
string
\PHPExcel_Worksheet
\PHPExcel_Exception |
---|
__toString() : string
string
absoluteCoordinate(string $pCoordinateString) : string
string
e.g. 'A1'
\PHPExcel_Exception |
---|
string
Absolute coordinate e.g. '$A$1'absoluteReference(string $pCoordinateString) : string
string
e.g. 'A' or '1' or 'A1' Note that this value can be a row or column reference as well as a cell reference
\PHPExcel_Exception |
---|
string
Absolute coordinate e.g. '$A' or '$1' or '$A$1'attach(\PHPExcel_CachedObjectStorage_CacheBase $parent)
buildRange(array $pRange) : string
array
Array containg one or more arrays containing one or two coordinate strings
\PHPExcel_Exception |
---|
string
String representation of $pRangecolumnIndexFromString(string $pString) : int
string
int
Column index (base 1 !!!)compareCells(\PHPExcel_Cell $a, \PHPExcel_Cell $b) : int
int
Result of comparison (always -1 or 1, never zero!)coordinateFromString(string $pCoordinateString) : array
string
\PHPExcel_Exception |
---|
array
Array containing column and row (indexes 0 and 1)detach()
extractAllCellReferencesInRange(string $pRange) : array
string
Range (e.g. A1 or A1:C10 or A1:E10 A20:E25)
array
Array containing single cell referencesgetCalculatedValue(boolean $resetLog) : mixed
deprecated | Since version 1.7.8 for planned changes to cell for array formula handling |
---|
boolean
Whether the calculation engine logger should be reset or not
\PHPExcel_Exception |
---|
mixed
getColumn() : string
string
getCoordinate() : string
string
getDataType() : string
string
getFormattedValue() : string
string
getFormulaAttributes()
deprecated | Since version 1.7.8 for planned changes to cell for array formula handling |
---|
getOldCalculatedValue() : mixed
Note that this value is not guaranteed to refelect the actual calculated value because it is possible that auto-calculation was disabled in the original spreadsheet, and underlying data values used by the formula have changed since it was last calculated.
mixed
getRangeBoundaries(string $pRange) : array
string
Cell range (e.g. A1:A1)
array
Range coordinates array(Start Cell, End Cell)
where Start Cell and End Cell are arrays (Column ID, Row Number)getRow() : int
int
getValue() : mixed
mixed
getXfIndex() : int
int
hasDataValidation() : boolean
hasHyperlink() : boolean
isInRange(string $pRange) : boolean
string
Cell range (e.g. A1:A1)
boolean
notifyCacheController() : void
rangeBoundaries(string $pRange) : array
string
Cell range (e.g. A1:A1)
array
Range coordinates array(Start Cell, End Cell)
where Start Cell and End Cell are arrays (Column Number, Row Number)rangeDimension(string $pRange) : array
string
Cell range (e.g. A1:A1)
array
Range dimension (width, height)setDataValidation(\PHPExcel_Cell_DataValidation $pDataValidation) : \PHPExcel_Cell
setFormulaAttributes($pAttributes)
deprecated | Since version 1.7.8 for planned changes to cell for array formula handling |
---|
setHyperlink(\PHPExcel_Cell_Hyperlink $pHyperlink) : \PHPExcel_Cell
setValue(mixed $pValue) : \PHPExcel_Cell
Sets the value for a cell, automatically determining the datatype using the value binder
mixed
Value
\PHPExcel_Exception |
---|
setValueBinder(\PHPExcel_Cell_IValueBinder $binder)
setValueExplicit(mixed $pValue, string $pDataType) : \PHPExcel_Cell
mixed
Value
string
Explicit data type
\PHPExcel_Exception |
---|
splitRange(string $pRange) : array
string
e.g. 'B4:D9' or 'B4:D9,H2:O11' or 'B4'
array
Array containg one or more arrays containing one or two coordinate strings
e.g. array('B4','D9') or array(array('B4','D9'),array('H2','O11'))
or array('B4')stringFromColumnIndex(int $pColumnIndex) : string
int
Column index (base 0 !!!)
string
$_calculatedValue : mixed
Note that this value is not guaranteed to reflect the actual calculated value because it is possible that auto-calculation was disabled in the original spreadsheet, and underlying data values used by the formula have changed since it was last calculated.
$_dataType : string
$_formulaAttributes
$_parent : \PHPExcel_CachedObjectStorage_CacheBase
$_value : mixed
$_valueBinder : \PHPExcel_Cell_IValueBinder
$_xfIndex : int
DEFAULT_RANGE
@var string