devel.module

Version 1.356 (checked in on 2009/09/23 at 18:20:56 by davereid)

Constants

NameDescription
DEVEL_ERROR_HANDLER_BACKTRACE
DEVEL_ERROR_HANDLER_NONE
DEVEL_ERROR_HANDLER_STANDARD
DEVEL_MIN_TEXTAREA
DEVEL_QUERY_SORT_BY_DURATION
DEVEL_QUERY_SORT_BY_SOURCE

Functions

NameDescription
backtrace_error_handler
dargsPrints the arguments passed into the current function
dd
ddebug_backtracePrint the function call stack.
devel_admin_settings
devel_block_configureImplements hook_block_configure().
devel_block_info
devel_block_save
devel_block_switch_user
devel_block_view
devel_bootImplements hook_boot(). Runs even for cached pages.
devel_cache_clearMenu callback; clears all caches, then redirects to the previous page.
devel_code_coverage_enabled
devel_devel_themer_toggle
devel_display_sourcePage callback to display syntax hilighted source code
devel_doc_function_form
devel_doc_function_form_submit
devel_elements_page
devel_execute_formGenerates the execute block form.
devel_execute_form_submitProcess PHP execute form submissions.
devel_exit
devel_field_info_page
devel_form_alterTODO: I switched params as per http://drupal.org/node/144132#form-alter but needs work still Implements hook_form_alter().
devel_function_referenceReturns a list of all currently defined user functions in the current request lifecycle, with links their documentation.
devel_get_core_version
devel_helpImplements hook_help().
devel_highlight_fileReturn PHP highlighted file
devel_initImplements hook_init().
devel_is_compatible_optimizer
devel_load_objectMenu callback; prints the loaded structure of the current node/user.
devel_menuImplementationation of hook_menu().
devel_menu_link_alterAn Implements hook_menu_link_alter(). Flag this link as needing alter at display time. This is more robust that setting alter in hook_menu(). See devel_translated_menu_link_alter().
devel_menu_need_destination
devel_menu_rebuildMenu callback; clear the database, resetting the menu to factory defaults.
devel_menu_title_theme_developer
devel_page_alter
devel_permissionImplement hook_permission().
devel_phpinfo
devel_print_objectDisplay an object or array
devel_query_enabled
devel_query_summary
devel_query_tableAdds a table at the bottom of the page cataloguing data on all the database queries that were made to generate the page.
devel_rebuild_node_comment_statisticsUpdate node_comment_statistics table for nodes with comments. TODO: if 2 comments have exact same timestamp, the function can get wrong uid and name fields. Handles when comment timestamps have been manually set in admin
devel_reinstallDisplay a dropdown of installed modules with the option to reinstall them.
devel_reinstall_submitProcess reinstall menu form submissions.
devel_render_objectMenu callback; prints the render structure of the current object (currently node or user).
devel_render_termMenu callback; prints the render structure of the a term.
devel_sessionMenu callback: display the session.
devel_set_handler
devel_shutdownSee devel_start() which registers this function as a shutdown function.
devel_shutdown_query
devel_shutdown_realSee devel_shutdown() which registers this function as a shutdown function. Displays developer information in the footer.
devel_silent
devel_start
devel_switch_userSwitch from original user to another user and back. We don't call session_save_session() because we really want to change users. Usually unsafe!
devel_switch_user_form
devel_switch_user_form_submit
devel_switch_user_form_validate
devel_switch_user_list
devel_themeImplements hook_theme()
devel_theme_registry
devel_timerDisplays page execution time at the bottom of the page.
devel_translated_menu_link_alterAn Implements hook_translated_menu_item_alter(). Append dynamic querystring 'destination' to several of our own menu items.
devel_variable_edit
devel_variable_edit_submit
devel_variable_form
devel_variable_form_submit
devel_variable_pageMenu callback; display all variables.
devel_verify_cli
dfbCalls the http://www.firephp.org/ fb() function if it is found.
dpmPrint a variable to the 'message' area of the page. Uses drupal_set_message()
dprAn alias for dprint_r(). Saves carpal tunnel syndrome.
dprint_rPretty-print a variable to the browser (no krumo). Displays only for users with proper permissions. If you want a string returned instead of a print, use the 2nd param.
drupal_debug
dsm
dvmVar_dump() a variable to the 'message' area of the page. Uses drupal_set_message()
dvrLike dpr, but uses var_dump() instead
has_krumo
kdevel_print_objectPrint an object or array using either Krumo (if installed) or devel_print_object()
kprAn alias for kprint_r(). Saves carpal tunnel syndrome.
kprint_r
krumo_ob
merits_krumoDecide whether or not to print a debug variable using krumo().
theme_devel_querylog
theme_devel_querylog_row
t_safe
_devel_print_objectRecursive (and therefore magical) function goes through an array or object and returns a nicely formatted listing of its contents.
_devel_table_sort