_subject); } /** * Get loop only existing cells * * @return boolean */ public function getIterateOnlyExistingCells() { return $this->_onlyExistingCells; } /** * Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary * * @throws PHPExcel_Exception */ abstract protected function adjustForExistingOnlyRange(); /** * Set the iterator to loop only existing cells * * @param boolean $value * @throws PHPExcel_Exception */ public function setIterateOnlyExistingCells($value = true) { $this->_onlyExistingCells = (boolean) $value; $this->adjustForExistingOnlyRange(); } }