<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* 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();
}
/**
- * 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);
return parent::run();
}
-}
+}