Beispiel #1
0
 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');
 }
Beispiel #2
0
 function getData()
 {
     $objects = DAO_WorkerEvent::search($this->params, $this->renderLimit, $this->renderPage, $this->renderSortBy, $this->renderSortAsc);
     return $objects;
 }