[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/include/ -> notification_functions.php (sommaire)

(pas de description)

Poids: 398 lignes (14 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 8 fonctions

  notificationEnabled()
  notificationCategoryInfo()
  notificationCommentCategoryInfo()
  notificationEvents()
  notificationEventEnabled()
  notificationEventInfo()
  notificationSubscribableCategoryInfo()
  notificationGenerateConfig()

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

notificationEnabled($style, $module_id=null)   X-Ref
Determine if notification is enabled for the selected module.

param: string  $style      Subscription style: 'block' or 'inline'
param: int     $module_id  ID of the module  (default current module)
return: bool

notificationCategoryInfo($category_name='', $module_id=null)   X-Ref
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.

param: string  $name       Category name (default all categories)
param: int     $module_id  ID of the module (default current module)
return: mixed

notificationCommentCategoryInfo($module_id=null)   X-Ref
Get associative array of info for the category to which comment events
belong.

param: int  $module_id  ID of the module (default current module)
return: mixed            Associative array of category info

notificationEvents($category_name, $enabled_only, $module_id=null)   X-Ref
Get an array of info for all events (each event has associative array)
in the selected category of the selected module.

param: string  $category_name  Category name
param: bool    $enabled_only   If true, return only enabled events
param: int     $module_id      ID of the module (default current module)
return: mixed

notificationEventEnabled(&$category, &$event, &$module)   X-Ref
Determine whether a particular notification event is enabled.
Depends on module config options.

param: array  $category  Category info array
param: array  $event     Event info array
param: object $module    Module
return: bool

notificationEventInfo($category_name, $event_name, $module_id=null)   X-Ref
Get associative array of info for the selected event in the selected
category (for the selected module).

param: string  $category_name  Notification category
param: string  $event_name     Notification event
param: int     $module_id      ID of the module (default current module)
return: mixed

notificationSubscribableCategoryInfo($module_id=null)   X-Ref
Get an array of associative info arrays for subscribable categories
for the selected module.

param: int  $module_id  ID of the module
return: mixed

notificationGenerateConfig(&$category, &$event, $type)   X-Ref
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.

param: array  $category  Array of category info
param: array  $event     Array of event info
param: string $type      The particular name to generate



Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics