exists
Checks whether the cell is stored in the DB. Note, SpreadSheet stores in the DB just cells for which the value or/and some style is set.
Parameters
- $mode - (boolean) the 'true' value says to store the cell in the DB in case it isn't stored there yet. The default value - 'true'.
Return value
- (boolean) 'true' if the specified cell is stored in the db, otherwise - 'false' (even if the $mode parameter is set to 'true')
Example
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->exists(false);
Back to top