assign('actionColumn', $actionColumn); $this->assign('eventSummary', $eventSummary); $this->assign('iCal', CRM_Event_BAO_Event::getICalLinks()); } /** * the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * @return null */ public function run() { $this->preProcess(); $controller = new CRM_Core_Controller_Simple('CRM_Event_Form_Search', ts('events'), NULL); $controller->setEmbedded(TRUE); $controller->reset(); $controller->set('limit', 10); $controller->set('force', 1); $controller->set('context', 'dashboard'); $controller->process(); $controller->run(); return parent::run(); } }