[ Index ] |
|
Code source de Drupal 5.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 173 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
throttle_menu($may_cache) 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($section) X-Ref |
Implementation of hook_help(). |
throttle_admin_settings() X-Ref |
Pas de description |
throttle_admin_settings_validate($form_id, $form_values) X-Ref |
Pas de description |
Généré le : Fri Nov 30 16:20:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |