assign('actionColumn', $actionColumn); $this->assign('eventSummary', $eventSummary); } /** * This function is the main function that is called when the page loads, * it decides the which action has to be taken for the page. * * return null * @access 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(); } }