public function sort($column, $sortType = 'ASC') { if (!$this->_header->contains($column)) { throw new Gpf_Exception('Undefined column'); } $sorter = new Gpf_Data_RecordSet_Sorter($column, $sortType); $this->_array = $sorter->sort($this->_array); }
public function contains($id) { return $this->header->contains($id); }