Gets the cell coordinates in the specified format.
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$coords = $cell->getCoords('array');
array
Example:
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->getCoords('array');
Return value:
array
(
"0" => 1,
"1" => 2
)
array_lit
Example:
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->getCoords('array_lit');
Return value:
array
(
"0" => 1,
"1" =>'B'
)
array_assoc
Example:
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->getCoords('array_assoc');
Return value:
array
(
"row" => 1,
"column" => 'B'
)
array_assoc_lit
Example:
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->getCoords('array_assoc_lit');
Return value:
array
(
"row" => 1,
"column" => 2
)