private function _getListAction($path) { $xml = new SimpleXMLElement("<notifications></notifications>"); @($p_page = DevblocksPlatform::importGPC($_REQUEST['p'], 'integer', 0)); list($events, $null) = DAO_WorkerEvent::search(array(), 50, $p_page, SearchFields_WorkerEvent::CREATED_DATE, true, false); $this->_renderResults($events, SearchFields_WorkerEvent::getFields(), 'notification', 'notifications'); }
function getData() { $objects = DAO_WorkerEvent::search($this->params, $this->renderLimit, $this->renderPage, $this->renderSortBy, $this->renderSortAsc); return $objects; }