![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
| kernel | |
Fonctions | |
| notificationEnabled ($style, $module_id=null) | |
| & | notificationCategoryInfo ($category_name='', $module_id=null) |
| & | notificationCommentCategoryInfo ($module_id=null) |
| & | notificationEvents ($category_name, $enabled_only, $module_id=null) |
| notificationEventEnabled (&$category, &$event, &$module) | |
| & | notificationEventInfo ($category_name, $event_name, $module_id=null) |
| & | notificationSubscribableCategoryInfo ($module_id=null) |
| notificationGenerateConfig (&$category, &$event, $type) | |
| & notificationCategoryInfo | ( | $category_name = '', |
|
$module_id = null |
|||
| ) |
Get an associative array of info for a particular notification category in the selected module. If no category is selected, return an array of info for all categories.
| string | $category_name | |
| int | $module_id | ID of the module (default current module) |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| & notificationCommentCategoryInfo | ( | $module_id = null | ) |
Get associative array of info for the category to which comment events belong.
| int | $module_id | ID of the module (default current module) |
Voici le graphe d'appel pour cette fonction :| notificationEnabled | ( | $style, | |
$module_id = null |
|||
| ) |
Determine if notification is enabled for the selected module.
| string | $style | Subscription style: 'block' or 'inline' |
| int | $module_id | ID of the module (default current module) |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| notificationEventEnabled | ( | & | $category, |
| & | $event, | ||
| & | $module | ||
| ) |
Determine whether a particular notification event is enabled. Depends on module config options.
| array | $category | Category info array |
| array | $event | Event info array |
| object | $module | Module |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| & notificationEventInfo | ( | $category_name, | |
| $event_name, | |||
$module_id = null |
|||
| ) |
Get associative array of info for the selected event in the selected category (for the selected module).
| string | $category_name | Notification category |
| string | $event_name | Notification event |
| int | $module_id | ID of the module (default current module) |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| & notificationEvents | ( | $category_name, | |
| $enabled_only, | |||
$module_id = null |
|||
| ) |
Get an array of info for all events (each event has associative array) in the selected category of the selected module.
| string | $category_name | Category name |
| bool | $enabled_only | If true, return only enabled events |
| int | $module_id | ID of the module (default current module) |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| notificationGenerateConfig | ( | & | $category, |
| & | $event, | ||
| $type | |||
| ) |
Generate module config info for a particular category, event pair. The selectable config options are given names depending on the category and event names, and the text depends on the category and event titles. These are pieced together in this function in case we wish to alter the syntax.
| array | $category | Array of category info |
| array | $event | Array of event info |
| string | $type | The particular name to generate return string |
Voici le graphe des appelants de cette fonction :| & notificationSubscribableCategoryInfo | ( | $module_id = null | ) |
Get an array of associative info arrays for subscribable categories for the selected module.
| int | $module_id | ID of the module |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :