| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This file contains the various menus of the CiviCRM module
class CRM_Core_Menu {
/**
- * The list of menu items
+ * The list of menu items.
*
* @var array
*/
static $_items = NULL;
/**
- * The list of permissioned menu items
+ * The list of permissioned menu items.
*
* @var array
*/
const MENU_ITEM = 1;
/**
- * This function fetches the menu items from xml and xmlMenu hooks
+ * This function fetches the menu items from xml and xmlMenu hooks.
*
* @param boolen $fetchFromXML
* Fetch the menu items from xml and not from cache.
}
/**
- * This function defines information for various menu items
+ * This function defines information for various menu items.
*
* @param boolen $fetchFromXML
* Fetch the menu items from xml and not from cache.
*
+ * @return array
*/
public static function &items($fetchFromXML = FALSE) {
return self::xmlItems($fetchFromXML);
}
/**
- * We use this function to
+ * We use this function to.
*
* 1. Compute the breadcrumb
* 2. Compute local tasks value if any
}
/**
- * This function recomputes menu from xml and populates civicrm_menu
+ * This function recomputes menu from xml and populates civicrm_menu.
* @param bool $truncate
*/
public static function store($truncate = TRUE) {
}
return $arr;
}
+
}