X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FSearchEvent.php;h=a0a2cd6be403b49e95b2b1ec5a99e18201221806;hb=041d366b84f97757855ba9d4a73ecbc239d09801;hp=986d39011f0f9d9d239fe1a43aed8d508dd50e7e;hpb=e7f7aef7265627c99d27b5e9cecdfe5d3e50f7de;p=civicrm-core.git diff --git a/CRM/Event/Form/SearchEvent.php b/CRM/Event/Form/SearchEvent.php index 986d39011f..a0a2cd6be4 100644 --- a/CRM/Event/Form/SearchEvent.php +++ b/CRM/Event/Form/SearchEvent.php @@ -37,7 +37,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { /** * @return array */ - function setDefaultValues() { + public function setDefaultValues() { $defaults = array(); $defaults['eventsByDates'] = 0; @@ -53,7 +53,6 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { /** * Build the form object * - * @access public * * @return void */ @@ -78,15 +77,15 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { CRM_Campaign_BAO_Campaign::addCampaignInComponentSearch($this); $this->addButtons(array( - array( - 'type' => 'refresh', - 'name' => ts('Search'), - 'isDefault' => TRUE, - ), - )); + array( + 'type' => 'refresh', + 'name' => ts('Search'), + 'isDefault' => TRUE, + ), + )); } - function postProcess() { + public function postProcess() { $params = $this->controller->exportValues($this->_name); $parent = $this->controller->getParent(); $parent->set('searchResult', 1); @@ -111,4 +110,3 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { } } } -