getCell
getCell
BASIC / ADVANCED / PREMIUM
Gets information from a cell.
Description
public getCell($position)
This method returns an array with cell information.
Parameters
position
Cell position in the active sheet: A1, C3, AB7...
Return values
Array with the cell information. Null if the cell position doesn't exist in the sheet.
Code samples
Example #1
Release notes
- phpxlsx 3.0:
- return numFmtId value.
- phpxlsx 2.5:
- return style index value.
- phpxlsx 1.0:
- new method.