|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for PhpOffice\PhpSpreadsheet\Collection\Cells:Public Member Functions | |
| __construct (Worksheet $parent, CacheInterface $cache) | |
| Initialise this new cell collection. More... | |
| getParent () | |
| Return the parent worksheet for this cell collection. More... | |
| has ($pCoord) | |
| Whether the collection holds a cell for the given coordinate. More... | |
| update (Cell $cell) | |
| Add or update a cell in the collection. More... | |
| delete ($pCoord) | |
| Delete a cell in cache identified by coordinate. More... | |
| getCoordinates () | |
| Get a list of all cell coordinates currently held in the collection. More... | |
| getSortedCoordinates () | |
| Get a sorted list of all cell coordinates currently held in the collection by row and column. More... | |
| getHighestRowAndColumn () | |
| Get highest worksheet column and highest row that have cell records. More... | |
| getCurrentCoordinate () | |
| Return the cell coordinate of the currently active cell object. More... | |
| getCurrentColumn () | |
| Return the column coordinate of the currently active cell object. More... | |
| getCurrentRow () | |
| Return the row coordinate of the currently active cell object. More... | |
| getHighestColumn ($row=null) | |
| Get highest worksheet column. More... | |
| getHighestRow ($column=null) | |
| Get highest worksheet row. More... | |
| cloneCellCollection (Worksheet $parent) | |
| Clone the cell collection. More... | |
| removeRow ($row) | |
| Remove a row, deleting all cells in that row. More... | |
| removeColumn ($column) | |
| Remove a column, deleting all cells in that column. More... | |
| add ($pCoord, Cell $cell) | |
| Add or update a cell identified by its coordinate into the collection. More... | |
| get ($pCoord) | |
| Get cell at a specific coordinate. More... | |
| unsetWorksheetCells () | |
| Clear the cell collection and disconnect from our parent. More... | |
| __destruct () | |
| Destroy this cell collection. More... | |
Private Member Functions | |
| getUniqueID () | |
| Generate a unique ID for cache referencing. More... | |
| storeCurrentCell () | |
| Store cell data in cache for the current cell object if it's "dirty", and the 'nullify' the current cell object. More... | |
| getAllCacheKeys () | |
| Returns all known cache keys. More... | |
Private Attributes | |
| $cache | |
| $parent | |
| $currentCell | |
| $currentCoordinate | |
| $currentCellIsDirty = false | |
| $index = [] | |
| $cachePrefix | |
| PhpOffice\PhpSpreadsheet\Collection\Cells::__construct | ( | Worksheet | $parent, |
| CacheInterface | $cache | ||
| ) |
Initialise this new cell collection.
| Worksheet | $parent | The worksheet for this cell collection |
Definition at line 66 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\$cache, PhpOffice\PhpSpreadsheet\Collection\Cells\$parent, and PhpOffice\PhpSpreadsheet\Collection\Cells\getUniqueID().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::__destruct | ( | ) |
Destroy this cell collection.
Definition at line 482 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\getAllCacheKeys().
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\storeCurrentCell(), and PhpOffice\PhpSpreadsheet\Collection\Cells\unsetWorksheetCells().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::add | ( | $pCoord, | |
| Cell | $cell | ||
| ) |
Add or update a cell identified by its coordinate into the collection.
Definition at line 410 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\storeCurrentCell().
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\update().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::cloneCellCollection | ( | Worksheet | $parent | ) |
Clone the cell collection.
| Worksheet | $parent | The new worksheet that we're copying to |
Definition at line 311 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\$parent, and PhpOffice\PhpSpreadsheet\Collection\Cells\storeCurrentCell().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::delete | ( | $pCoord | ) |
Delete a cell in cache identified by coordinate.
| string | $pCoord | Coordinate of the cell to delete |
Definition at line 120 of file Cells.php.
| PhpOffice\PhpSpreadsheet\Collection\Cells::get | ( | $pCoord | ) |
Get cell at a specific coordinate.
| string | $pCoord | Coordinate of the cell |
Definition at line 431 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\$currentCell, PhpOffice\PhpSpreadsheet\Collection\Cells\has(), and PhpOffice\PhpSpreadsheet\Collection\Cells\storeCurrentCell().
Here is the call graph for this function:
|
private |
Returns all known cache keys.
Definition at line 492 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates().
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\__destruct().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::getCoordinates | ( | ) |
Get a list of all cell coordinates currently held in the collection.
Definition at line 140 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\getAllCacheKeys(), PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestColumn(), PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestRow(), PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestRowAndColumn(), PhpOffice\PhpSpreadsheet\Collection\Cells\getSortedCoordinates(), PhpOffice\PhpSpreadsheet\Collection\Cells\removeColumn(), and PhpOffice\PhpSpreadsheet\Collection\Cells\removeRow().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::getCurrentColumn | ( | ) |
| PhpOffice\PhpSpreadsheet\Collection\Cells::getCurrentCoordinate | ( | ) |
Return the cell coordinate of the currently active cell object.
Definition at line 197 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\$currentCoordinate.
| PhpOffice\PhpSpreadsheet\Collection\Cells::getCurrentRow | ( | ) |
| PhpOffice\PhpSpreadsheet\Collection\Cells::getHighestColumn | ( | $row = null | ) |
Get highest worksheet column.
| string | $row | Return the highest column for the specified row, or the highest column of any row if no row number is passed |
Definition at line 240 of file Cells.php.
References $c, $r, $row, PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates(), PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestRowAndColumn(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::getHighestRow | ( | $column = null | ) |
Get highest worksheet row.
| string | $column | Return the highest row for the specified column, or the highest row of any column if no column letter is passed |
Definition at line 271 of file Cells.php.
References $c, $r, PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates(), and PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestRowAndColumn().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::getHighestRowAndColumn | ( | ) |
Get highest worksheet column and highest row that have cell records.
Definition at line 169 of file Cells.php.
References $c, $r, $row, and PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates().
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestColumn(), and PhpOffice\PhpSpreadsheet\Collection\Cells\getHighestRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::getParent | ( | ) |
Return the parent worksheet for this cell collection.
Definition at line 81 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\$parent.
| PhpOffice\PhpSpreadsheet\Collection\Cells::getSortedCoordinates | ( | ) |
Get a sorted list of all cell coordinates currently held in the collection by row and column.
Definition at line 150 of file Cells.php.
References $row, and PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates().
Here is the call graph for this function:
|
private |
Generate a unique ID for cache referencing.
Definition at line 299 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\__construct().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::has | ( | $pCoord | ) |
Whether the collection holds a cell for the given coordinate.
| string | $pCoord | Coordinate of the cell to check |
Definition at line 93 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\get().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::removeColumn | ( | $column | ) |
Remove a column, deleting all cells in that column.
| string | $column | Column ID to remove |
Definition at line 367 of file Cells.php.
References $c, $r, and PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::removeRow | ( | $row | ) |
Remove a row, deleting all cells in that row.
| string | $row | Row number to remove |
Definition at line 349 of file Cells.php.
References $c, $r, $row, and PhpOffice\PhpSpreadsheet\Collection\Cells\getCoordinates().
Here is the call graph for this function:
|
private |
Store cell data in cache for the current cell object if it's "dirty", and the 'nullify' the current cell object.
Definition at line 384 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\__destruct().
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\add(), PhpOffice\PhpSpreadsheet\Collection\Cells\cloneCellCollection(), and PhpOffice\PhpSpreadsheet\Collection\Cells\get().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::unsetWorksheetCells | ( | ) |
Clear the cell collection and disconnect from our parent.
Definition at line 462 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\__destruct().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Collection\Cells::update | ( | Cell | $cell | ) |
Add or update a cell in the collection.
Definition at line 110 of file Cells.php.
References PhpOffice\PhpSpreadsheet\Collection\Cells\add(), and PhpOffice\PhpSpreadsheet\Cell\Cell\getCoordinate().
Here is the call graph for this function:
|
private |
Definition at line 17 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\__construct().
|
private |
|
private |
Definition at line 31 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\get().
|
private |
|
private |
Definition at line 38 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\getCurrentCoordinate().
|
private |
|
private |
Definition at line 24 of file Cells.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\Cells\__construct(), PhpOffice\PhpSpreadsheet\Collection\Cells\cloneCellCollection(), and PhpOffice\PhpSpreadsheet\Collection\Cells\getParent().