API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | kernel |
Functions | |
notificationEnabled ($style, $module_id=null) | |
& | notificationCategoryInfo ($category_name='', $module_id=null) |
& | notificationCommentCategoryInfo ($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) |
& 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) |
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) |
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 |
& 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) |
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 |
& 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 |