first reimport from platal
[platal.git] / hooks / README
1 config()
2     function used to create new config entries in $globals.
3     usually, a module need to create a ....Config class to store the defaults.
4
5 menu()
6     function used to add entries to $globals->menu    
7
8 subscribe($forlife, $uid, $promo, $pass)
9     triggered when a user subscription is sucessfull
10
11 prefs()
12     function used to add boxes in htdocs/preferences.php
13     must return a dictionnary : url, title, text, weight.