function getObjData() { $this->_pageData(); if (count($this->sortedBy) == 0) { foreach ($this->Columns as $Column) { if ($Column->defaultSort !== FALSE) { $this->sortedBy[$Column->sortBy] = $Column->defaultSort; } } } foreach ($this->sortedBy as $Field => $Direction) { $this->Obj->db->order_by($Field, $Direction, FALSE); } return $this->Obj->get(null, TRUE); }
function getObjData() { $this->_pageData(); return $this->Obj->get(null, TRUE); }