You are here

function devel_function_reference in Devel 6

Same name and namespace in other branches
  1. 5 devel.module \devel_function_reference()
  2. 7 devel.pages.inc \devel_function_reference()

Returns a list of all currently defined user functions in the current request lifecycle, with links their documentation.

1 string reference to 'devel_function_reference'
devel_menu in ./devel.module
Implementation of hook_menu().

File

./devel.module, line 996

Code

function devel_function_reference() {
  $functions = get_defined_functions();
  $version = devel_get_core_version(VERSION);
  $ufunctions = $functions['user'];
  sort($ufunctions);
  $api = variable_get('devel_api_url', 'api.drupal.org');
  foreach ($ufunctions as $function) {
    $links[] = l($function, "http://{$api}/api/function/{$function}/{$version}");
  }
  return theme('item_list', $links);
}