/** * Sort collection of cells * * @return Worksheet */ public function sortCellCollection() { if (!is_null($this->_cellCollection)) { return $this->_cellCollection->getSortedCellList(); } return array(); }
/** * Sort collection of cells * * @return Worksheet */ public function sortCellCollection() { if ($this->cellCollection !== null) { return $this->cellCollection->getSortedCellList(); } return array(); }