X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FManageEvent.php;h=6273688e5670a29f4c58c63c1cd287b0525eadce;hb=fa92b4af1c4abf280689cea6445c7a9b99858831;hp=e218713a3c8a4f906bf003dc034771e2d6151883;hpb=c490a46ac4bf490d3fbb31e35d24c6b43e764f00;p=civicrm-core.git diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index e218713a3c..6273688e56 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -1,7 +1,7 @@ assign('includeWysiwygEditor', TRUE); $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter', 'String', @@ -399,9 +398,8 @@ ORDER BY start_date desc * all the fields in the event wizard * * @return void - * @access public */ - function copy() { + public function copy() { $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, TRUE, 0, 'GET'); $urlString = 'civicrm/event/manage'; @@ -416,7 +414,7 @@ ORDER BY start_date desc return CRM_Utils_System::redirect(CRM_Utils_System::url($urlString, $urlParams)); } - function search() { + public function search() { if (isset($this->_action) & (CRM_Core_Action::ADD | CRM_Core_Action::UPDATE | @@ -440,7 +438,7 @@ ORDER BY start_date desc * * @return string */ - function whereClause(&$params, $sortBy = TRUE, $force) { + public function whereClause(&$params, $sortBy = TRUE, $force) { $values = array(); $clauses = array(); $title = $this->get('title'); @@ -530,9 +528,9 @@ ORDER BY start_date desc /** * @param $whereClause - * @param $whereParams + * @param array $whereParams */ - function pager($whereClause, $whereParams) { + public function pager($whereClause, $whereParams) { $params['status'] = ts('Event %%StatusMessage%%'); $params['csvString'] = NULL; @@ -556,9 +554,9 @@ SELECT count(id) /** * @param $whereClause - * @param $whereParams + * @param array $whereParams */ - function pagerAtoZ($whereClause, $whereParams) { + public function pagerAtoZ($whereClause, $whereParams) { $query = " SELECT DISTINCT UPPER(LEFT(title, 1)) as sort_name @@ -572,4 +570,3 @@ SELECT count(id) $this->assign('aToZ', $aToZBar); } } -