PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
phpoffice
/
phpspreadsheet
/
src
/
PhpSpreadsheet
/
Worksheet
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; use Iterator as NativeIterator; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Collection\Cells; /** * @template TKey * * @implements NativeIterator<TKey, Cell> */ abstract class CellIterator implements NativeIterator { public const TREAT_NULL_VALUE_AS_EMPTY_CELL = 1; public const TREAT_EMPTY_STRING_AS_EMPTY_CELL = 2; /** * Worksheet to iterate. * * @var Worksheet */ protected $worksheet; /** * Cell Collection to iterate. * * @var Cells */ protected $cellCollection; /** * Iterate only existing cells. * * @var bool */ protected $onlyExistingCells = false; /** * Destructor. */ public function __destruct() { // @phpstan-ignore-next-line $this->worksheet = $this->cellCollection = null; } /** * Get loop only existing cells. */ public function getIterateOnlyExistingCells(): bool { return $this->onlyExistingCells; } /** * Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary. */ abstract protected function adjustForExistingOnlyRange(); /** * Set the iterator to loop only existing cells. */ public function setIterateOnlyExistingCells(bool $value): void { $this->onlyExistingCells = (bool) $value; $this->adjustForExistingOnlyRange(); } }
[-] Worksheet.php
[edit]
[-] RowDimension.php
[edit]
[+]
..
[+]
Drawing
[-] PageSetup.php
[edit]
[-] Column.php
[edit]
[-] HeaderFooterDrawing.php
[edit]
[-] Drawing.php
[edit]
[-] Row.php
[edit]
[-] Table.php
[edit]
[-] Dimension.php
[edit]
[-] ColumnIterator.php
[edit]
[-] PageMargins.php
[edit]
[-] ColumnCellIterator.php
[edit]
[-] RowCellIterator.php
[edit]
[-] Validations.php
[edit]
[-] CellIterator.php
[edit]
[-] ColumnDimension.php
[edit]
[+]
Table
[-] RowIterator.php
[edit]
[-] Iterator.php
[edit]
[-] AutoFilter.php
[edit]
[-] HeaderFooter.php
[edit]
[+]
AutoFilter
[-] BaseDrawing.php
[edit]
[-] Protection.php
[edit]
[-] MemoryDrawing.php
[edit]
[-] SheetView.php
[edit]