X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FManageEvent.php;h=6273688e5670a29f4c58c63c1cd287b0525eadce;hb=fa92b4af1c4abf280689cea6445c7a9b99858831;hp=32ed626be9f08babf6b65d28cfa0ef77a42a2f51;hpb=a335f6b228626e3e1b2f1549c8ddcbb9232b3c6b;p=civicrm-core.git diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index 32ed626be9..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'); @@ -532,7 +530,7 @@ ORDER BY start_date desc * @param $whereClause * @param array $whereParams */ - function pager($whereClause, $whereParams) { + public function pager($whereClause, $whereParams) { $params['status'] = ts('Event %%StatusMessage%%'); $params['csvString'] = NULL; @@ -558,7 +556,7 @@ SELECT count(id) * @param $whereClause * @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); } } -