X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FACL%2FPage%2FACLBasic.php;h=4f83ddeba17d342ce09f99973dbd6b0342cda805;hb=c301f76e83796cab7a73e8edf3129013f23cf339;hp=0f24b3face9cf8391ab82f5f6d1d060ecf11872d;hpb=9cc8b9b246a371b9621a8279545258073fbd0e48;p=civicrm-core.git diff --git a/CRM/ACL/Page/ACLBasic.php b/CRM/ACL/Page/ACLBasic.php index 0f24b3face..4f83ddeba1 100644 --- a/CRM/ACL/Page/ACLBasic.php +++ b/CRM/ACL/Page/ACLBasic.php @@ -1,7 +1,7 @@ array( @@ -92,10 +93,8 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * @access public - * */ - function run() { + public function run() { // get the requested action $action = CRM_Utils_Request::retrieve('action', 'String', // default to 'browse' @@ -109,9 +108,12 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { ); // set breadcrumb to append to admin/access - $breadCrumb = array(array('title' => ts('Access Control'), + $breadCrumb = array( + array( + 'title' => ts('Access Control'), 'url' => CRM_Utils_System::url('civicrm/admin/access', 'reset=1'), - )); + ), + ); CRM_Utils_System::appendBreadCrumb($breadCrumb); // what action to take ? @@ -130,10 +132,8 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { * Browse all acls * * @return void - * @access public - * @static */ - function browse() { + public function browse() { // get all acl's sorted by weight $acl = array(); @@ -190,18 +190,20 @@ ORDER BY entity_id /** * Get name of edit form * - * @return string Classname of edit form. + * @return string + * Classname of edit form. */ - function editForm() { + public function editForm() { return 'CRM_ACL_Form_ACLBasic'; } /** * Get edit form name * - * @return string name of this page. + * @return string + * name of this page. */ - function editName() { + public function editName() { return 'Core ACLs'; } @@ -210,10 +212,10 @@ ORDER BY entity_id * * @param null $mode * - * @return string user context. + * @return string + * user context. */ - function userContext($mode = NULL) { + public function userContext($mode = NULL) { return 'civicrm/acl/basic'; } } -