| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 744 lines (25 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| devel_themer_menu() X-Ref |
| Implementation of hook_menu(). |
| devel_themer_set_menu_text() X-Ref |
| Helper function to set the menu link text. |
| devel_themer_menu_link_alter(&$item, $menu) X-Ref |
| Implementation of hook_menu_link_alter(). Flag this link as needing alter at display time. This is more robust than setting alter in hook_menu(). See devel_themer_translated_menu_link_alter(). |
| devel_themer_translated_menu_link_alter(&$item) X-Ref |
| Implementation of hook_translated_menu_item_alter(). Append dynamic querystring 'destination' to our own menu item. |
| devel_themer_ajax_variables($request_id, $call) X-Ref |
| A menu callback used by popup to retrieve variables from cache for a recent page. param: $request_id param: $call return: string |
| devel_themer_toggle() X-Ref |
| Toggle the Devel Themer. This is called from the Devel menu link. return: void |
| devel_themer_enabled($enable = NULL) X-Ref |
| Set and/or return the status of Devel Themer. param: return: |
| devel_themer_admin_settings() X-Ref |
| No description |
| devel_themer_perm() X-Ref |
| Implementation of hook_perm(). |
| devel_themer_init() X-Ref |
| No description |
| devel_themer_shutdown() X-Ref |
| No description |
| devel_themer_theme_registry_alter($theme_registry) X-Ref |
| An implementation of hook_theme_registry_alter() Iterate over theme registry, injecting our catch function into every theme call, including template calls. The catch function logs theme calls and performs divine nastiness. return: void |
| devel_themer_log() X-Ref |
| Show all theme templates and functions that could have been used on this page. |
| devel_themer_get_extension() X-Ref |
| No description |
| devel_themer_catch_function() X-Ref |
| Intercepts all theme calls (including templates), adds to template log, and dispatches to original theme function. This function gets injected into theme registry in devel_themer_theme_registry_alter(). |
| devel_themer_append_extension($string) X-Ref |
| No description |
| devel_themer_ancestry($calls) X-Ref |
| For given theme *function* call, return the ancestry of function names which could have handled the call. This mimics the way the theme registry is built. param: array return: array() |
| devel_themer_theme_twin() X-Ref |
| An unfortunate copy/paste of theme(). This one is called by the devel_themer_catch_function() and processes all theme calls but gives us info about the candidates, timings, etc. Without this twin, it was impossible to capture calls to module owned templates (e.g. user_profile) and awkward to determine which template was finally called and how long it took. return: array |
| devel_themer_exit($destination = NULL) X-Ref |
| No description |
| devel_theme_call_marker($name, $counter, $type) X-Ref |
| No description |
| devel_counter($increment = TRUE) X-Ref |
| No description |
| devel_themer_popup() X-Ref |
| Return the popup template placed here for easy editing |
| devel_put_contents($n, $d, $flag = false) X-Ref |
| No description |
| devel_themer_cleanup() X-Ref |
| Clean up the files we dropped in the temp dir in devel_themer_exit(). Limitation: one more devel_themer_exit() will run after this function is called and drop one more file, since hook_exit() is called after the normal page cycle. return: |
| devel_themer_cron() X-Ref |
| Implement hook_cron() for periodic cleanup. return: |
| devel_themer_user_access($account = NULL) X-Ref |
| Determine whether the user has permission to access the information provided by this module. param: $account return: |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |