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
stringabsoluteCoordinate(string $pCoordinateString) : string
stringe.g. 'A1'
\PHPExcel_Exception |
|---|
stringAbsolute coordinate e.g. '$A$1'absoluteReference(string $pCoordinateString) : string
stringe.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 |
|---|
stringAbsolute coordinate e.g. '$A' or '$1' or '$A$1'attach(\PHPExcel_CachedObjectStorage_CacheBase $parent)
buildRange(array $pRange) : string
arrayArray containg one or more arrays containing one or two coordinate strings
\PHPExcel_Exception |
|---|
stringString representation of $pRangecolumnIndexFromString(string $pString) : int
string
intColumn index (base 1 !!!)compareCells(\PHPExcel_Cell $a, \PHPExcel_Cell $b) : int
intResult of comparison (always -1 or 1, never zero!)coordinateFromString(string $pCoordinateString) : array
string
\PHPExcel_Exception |
|---|
arrayArray containing column and row (indexes 0 and 1)detach()
extractAllCellReferencesInRange(string $pRange) : array
stringRange (e.g. A1 or A1:C10 or A1:E10 A20:E25)
arrayArray containing single cell referencesgetCalculatedValue(boolean $resetLog) : mixed
| deprecated | Since version 1.7.8 for planned changes to cell for array formula handling |
|---|
booleanWhether the calculation engine logger should be reset or not
\PHPExcel_Exception |
|---|
mixedgetColumn() : string
stringgetCoordinate() : string
stringgetDataType() : string
stringgetFormattedValue() : string
stringgetFormulaAttributes()
| 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.
mixedgetRangeBoundaries(string $pRange) : array
stringCell range (e.g. A1:A1)
arrayRange coordinates array(Start Cell, End Cell)
where Start Cell and End Cell are arrays (Column ID, Row Number)getRow() : int
intgetValue() : mixed
mixedgetXfIndex() : int
inthasDataValidation() : boolean
hasHyperlink() : boolean
isInRange(string $pRange) : boolean
stringCell range (e.g. A1:A1)
booleannotifyCacheController() : void
rangeBoundaries(string $pRange) : array
stringCell range (e.g. A1:A1)
arrayRange coordinates array(Start Cell, End Cell)
where Start Cell and End Cell are arrays (Column Number, Row Number)rangeDimension(string $pRange) : array
stringCell range (e.g. A1:A1)
arrayRange 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
mixedValue
\PHPExcel_Exception |
|---|
setValueBinder(\PHPExcel_Cell_IValueBinder $binder)
setValueExplicit(mixed $pValue, string $pDataType) : \PHPExcel_Cell
mixedValue
stringExplicit data type
\PHPExcel_Exception |
|---|
splitRange(string $pRange) : array
stringe.g. 'B4:D9' or 'B4:D9,H2:O11' or 'B4'
arrayArray 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
intColumn 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