/** * @brief marks a navigation entry as active * @param $id id of the entry * @returns true/false * * This function sets a navigation entry as active and removes the 'active' * property from all other entries. The templates can use this for * highlighting the current position of the user. */ public static function setActiveNavigationEntry($id) { self::$activeapp = $id; return true; }
/** * @brief marks a navigation entry as active * @param string $id id of the entry * @return bool * * This function sets a navigation entry as active and removes the 'active' * property from all other entries. The templates can use this for * highlighting the current position of the user. */ public static function setActiveNavigationEntry($id) { // load all the apps, to make sure we have all the navigation entries self::loadApps(); self::$activeapp = $id; return true; }