X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FDashBoard.php;h=8f35333cda03ce36f2a8a7ddf4a03c67f2ed1a95;hb=d25dd0ee5e47188c3ea9ad2918f627cfac97ddbd;hp=dd657f802cb240f255efdb0f950c7de957a15b43;hpb=718e934e2c6fa496ee84f56502d73cae125b1331;p=civicrm-core.git diff --git a/CRM/Event/Page/DashBoard.php b/CRM/Event/Page/DashBoard.php index dd657f802c..8f35333cda 100644 --- a/CRM/Event/Page/DashBoard.php +++ b/CRM/Event/Page/DashBoard.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -43,10 +43,8 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * @access public - * */ - function preProcess() { + public function preProcess() { CRM_Utils_System::setTitle(ts('CiviEvent')); $eventSummary = CRM_Event_BAO_Event::getEventSummary(); @@ -73,13 +71,12 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { } /** - * This function is the main function that is called when the page loads, + * 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 + * @return null */ - function run() { + public function run() { $this->preProcess(); $controller = new CRM_Core_Controller_Simple('CRM_Event_Form_Search', ts('events'), NULL); @@ -93,5 +90,5 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { return parent::run(); } -} +}