Contributions API

devel.module

Version

1.258.2.7 (checked in on 2008/03/23 at 19:02:55 by weitzman)

Constants

Namesort iconDescription
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

Namesort iconDescription
backtrace_error_handler
dargsPrints the arguments passed into the current function
db_querydDebugging version of db_query().
ddebug_backtracePrint the function call stack.
devel_admin_settings
devel_blockImplementation of hook_block().
devel_block_switch_user
devel_bootImplementation of hook_boot(). Runs even for cached pages.
devel_cache_clearMenu callback; clears all caches, then redirects to the previous page.
devel_db_query
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_formsImplementation of hook_forms().
devel_form_alterTODO: i switched params as per http://drupal.org/node/144132#form-alter but needs work still Implementation of 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_helpImplementation of hook_help().
devel_highlight_fileReturn PHP highlighted file
devel_initImplementation of hook_init().
devel_is_compatible_optimizer
devel_load_objectMenu callback; prints the loaded structure of the current node/user.
devel_menuImplementation of hook_menu().
devel_menu_access_store_queries
devel_menu_link_alterAn implementation of 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_permImplementation of hook_perm().
devel_phpinfo
devel_print_objectDisplay an object or array
devel_queries
devel_queries_empty
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_rebuild_node_comment_statistics_pageMenu callback. Rebuild node _comment_stats table.
devel_reinstallMenu callback; Display a list of installed modules with the option to reinstall them via hook_install.
devel_reinstall_form
devel_reinstall_submitProcess reinstall menu form submissions.
devel_render_objectMenu callback; prints the render structure of the current object (currently node or user).
devel_sessionMenu callback: display the session.
devel_set_handler
devel_shutdownSee devel_start() which registers this function as a shutdown function.
devel_shutdown_realSee devel_shutdown() which registers this function as a shutdown function. Displays developer information in the footer.
devel_silent
devel_start
devel_store_queries
devel_switch_userSwitch from original user to another user and back.
devel_switch_user_form
devel_switch_user_form_submit
devel_switch_user_form_validate
devel_switch_user_list
devel_table_keysEnable or disable indexes for a given table. Useful during a bulk import.
devel_themeImplementation of hook_theme()
devel_theme_registry
devel_timerDisplays page execution time at the bottom of the page.
devel_translated_menu_link_alterAn implementation of 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
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. Displays only for users with proper permissions. If you want a string returned instead of a print, use the 2nd param.
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()
kprint_r
krumo_ob
sequence_resetSet sequences table to a sane state. Useful after a bulk import.
theme_devel_variable_form
t_safe
wgetSave contents of an url to filesystem. Works for images.
_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