INFRA-132 - Batch #7
[civicrm-core.git] / CRM / ACL / Page / ACLBasic.php
index 8b2e61a84aa5fd6f75f0aaa9c6a1ac5bb0c96b31..4f83ddeba17d342ce09f99973dbd6b0342cda805 100644 (file)
@@ -46,14 +46,14 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
    * The action links that we need to display for the browse screen
    *
    * @var array
-   * @static
    */
   static $_links = NULL;
 
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_ACL_BAO_ACL';
@@ -62,7 +62,8 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
+   * @return array
+   *   (reference) of action links
    */
   public function &links() {
     if (!(self::$_links)) {
@@ -92,8 +93,6 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
    * Finally it calls the parent's run method.
    *
    * @return void
-   * @access public
-   *
    */
   public function run() {
     // get the requested action
@@ -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,8 +132,6 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
    * Browse all acls
    *
    * @return void
-   * @access public
-   * @static
    */
   public function browse() {
 
@@ -190,7 +190,8 @@ ORDER BY entity_id
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_ACL_Form_ACLBasic';
@@ -199,7 +200,8 @@ ORDER BY entity_id
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   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.
    */
   public function userContext($mode = NULL) {
     return 'civicrm/acl/basic';
   }
 }
-