/includes/menu.inc

Description
Constants
MENU_ACCESS_DENIED = 2 (line 5)
MENU_ACCESS_OK = 5 (line 6)
MENU_NOT_FOUND = 1 (line 4)
Functions
menu_check_reservation (line 296)
void menu_check_reservation ( $alias)
  • $alias
menu_delete_alias (line 212)
void menu_delete_alias ( $alias)
  • $alias
menu_delete_path (line 204)
void menu_delete_path ( $path)
  • $path
menu_get_alias (line 278)
void menu_get_alias ( $path)
  • $path
menu_get_alias_path (line 240)
void menu_get_alias_path ( $str, [ $op = 'alias'])
  • $str
  • $op
menu_get_item (line 8)
void menu_get_item ([ $path = NULL])
  • $path
menu_get_path (line 287)
void menu_get_path ( $alias)
  • $alias
menu_get_val (line 342)
void menu_get_val ( $parts)
  • $parts
menu_match (line 373)
void menu_match ( $load, [ $path = NULL])
  • $load
  • $path
menu_menu_match (line 398)

menu 占位符

  • return: 替换后的数据
(*) menu_menu_match ((string) $str, (string) $match)
  • (string) $str: arg(x)
  • (string) $match: 占位符
menu_set_alias (line 219)
void menu_set_alias ( $path,  $alias,  $type,  $tid)
  • $path
  • $alias
  • $type
  • $tid
menu_set_current_menu_data (line 197)
void menu_set_current_menu_data ( $key,  $data)
  • $key
  • $data
menu_set_item (line 447)

写入所有模块定义 menu

void menu_set_item ()
menu_update_alias (line 231)
void menu_update_alias ( $alias,  $oldalias)
  • $alias
  • $oldalias
_menu_check_path_filter (line 311)

比对路径是否在给定的数组中,/ 为目录匹配,即 user/ 匹配 user 下所有路径

  • return: 或 false:存在 或 不存在
true _menu_check_path_filter ($menu $menu, [$lists $lists = array()])
  • $menu $menu: = String 要检查的路径
  • $lists $lists: = array() 包含一组路径

Documentation generated on Wed, 04 Jul 2012 14:35:57 +0800 by phpDocumentor 1.4.3