[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/modules/throttle/ -> throttle.module (sommaire)

(pas de description)

Poids: 173 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 6 fonctions

  throttle_menu()
  throttle_status()
  throttle_exit()
  throttle_help()
  throttle_admin_settings()
  throttle_admin_settings_validate()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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
  Clicky Web Analytics