You are here

function activemenu_get_request_path in Javascript Tools 5

Read the incoming request and return the correct path.

2 calls to activemenu_get_request_path()
activemenu_js in activemenu/activemenu.module
Menu callback. Output a themed menu tree for a requested menu item.
activemenu_js_book in activemenu/modules/book.inc
Menu callback. Handle the activemenu for book menus.

File

activemenu/activemenu.module, line 82
Add AJAX-based tree menu to navigation menu.

Code

function activemenu_get_request_path() {
  return isset($_POST['path']) ? drupal_get_normal_path($_POST['path']) : FALSE;
}