ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
PHPExcel_Worksheet_CellIterator Class Reference
+ Inheritance diagram for PHPExcel_Worksheet_CellIterator:
+ Collaboration diagram for PHPExcel_Worksheet_CellIterator:

Public Member Functions

 __destruct ()
 Destructor. More...
 
 getIterateOnlyExistingCells ()
 Get loop only existing cells. More...
 
 setIterateOnlyExistingCells ($value=true)
 Set the iterator to loop only existing cells. More...
 

Protected Member Functions

 adjustForExistingOnlyRange ()
 Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary. More...
 

Protected Attributes

 $_subject
 
 $_position = null
 
 $_onlyExistingCells = false
 

Detailed Description

Definition at line 38 of file CellIterator.php.

Constructor & Destructor Documentation

◆ __destruct()

PHPExcel_Worksheet_CellIterator::__destruct ( )

Destructor.

Definition at line 64 of file CellIterator.php.

64  {
65  unset($this->_subject);
66  }

Member Function Documentation

◆ adjustForExistingOnlyRange()

PHPExcel_Worksheet_CellIterator::adjustForExistingOnlyRange ( )
abstractprotected

Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.

Exceptions
PHPExcel_Exception

Referenced by getIterateOnlyExistingCells(), and setIterateOnlyExistingCells().

+ Here is the caller graph for this function:

◆ getIterateOnlyExistingCells()

PHPExcel_Worksheet_CellIterator::getIterateOnlyExistingCells ( )

Get loop only existing cells.

Returns
boolean

Definition at line 73 of file CellIterator.php.

References $_onlyExistingCells, and adjustForExistingOnlyRange().

+ Here is the call graph for this function:

◆ setIterateOnlyExistingCells()

PHPExcel_Worksheet_CellIterator::setIterateOnlyExistingCells (   $value = true)

Set the iterator to loop only existing cells.

Parameters
boolean$value
Exceptions
PHPExcel_Exception

Definition at line 90 of file CellIterator.php.

References adjustForExistingOnlyRange().

90  {
91  $this->_onlyExistingCells = (boolean) $value;
92 
94  }
adjustForExistingOnlyRange()
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
+ Here is the call graph for this function:

Field Documentation

◆ $_onlyExistingCells

PHPExcel_Worksheet_CellIterator::$_onlyExistingCells = false
protected

Definition at line 59 of file CellIterator.php.

Referenced by getIterateOnlyExistingCells().

◆ $_position

◆ $_subject

PHPExcel_Worksheet_CellIterator::$_subject
protected

Definition at line 45 of file CellIterator.php.


The documentation for this class was generated from the following file: