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