ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
CellIterator.php
Go to the documentation of this file.
1 <?php
39 {
45  protected $_subject;
46 
52  protected $_position = null;
53 
59  protected $_onlyExistingCells = false;
60 
64  public function __destruct() {
65  unset($this->_subject);
66  }
67 
73  public function getIterateOnlyExistingCells() {
75  }
76 
82  abstract protected function adjustForExistingOnlyRange();
83 
90  public function setIterateOnlyExistingCells($value = true) {
91  $this->_onlyExistingCells = (boolean) $value;
92 
94  }
95 }
getIterateOnlyExistingCells()
Get loop only existing cells.
setIterateOnlyExistingCells($value=true)
Set the iterator to loop only existing cells.
adjustForExistingOnlyRange()
Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.