function _menu_tree_cid in Drupal 6
Helper function - compute the real cache ID for menu tree data.
Related topics
2 calls to _menu_tree_cid()
- menu_tree_all_data in includes/
menu.inc - Get the data structure representing a named menu tree.
- menu_tree_page_data in includes/
menu.inc - Get the data structure representing a named menu tree, based on the current page.
File
- includes/
menu.inc, line 967 - API for the Drupal menu system.
Code
function _menu_tree_cid($menu_name, $data) {
return 'links:' . $menu_name . ':tree-data:' . md5(serialize($data));
}