| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 128 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| throttle_menu() X-Ref |
| throttle_status() X-Ref |
| Determine the current load on the site. Call the throttle_status() function from your own modules, themes, blocks, etc. as follows: $throttle = module_invoke('throttle', 'status'); to determine the current throttle status. Use module_invoke() so the call will still work if the throttle module is disabled. For example, in your theme you might choose to disable pictures when your site is too busy (reducing bandwidth), or in your modules you might choose to disable some complicated logic when your site is too busy (reducing CPU utilization). return: |
| throttle_exit() X-Ref |
| Implementation of hook_exit(). Changes the current throttle level based on page hits. |
| throttle_help($path, $arg) X-Ref |
| Implementation of hook_help(). |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |