Class Notifications
- Xoops\Module\Helper\HelperAbstract
- Notifications
Copyright:
XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Version: $Id$
Located at odules/notifications/class/helper.php
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Version: $Id$
Located at odules/notifications/class/helper.php
public
null|
|
|
public static
string
|
|
public
|
|
public
boolean
|
|
public
array|boolean
|
|
public
array|boolean
|
|
public
mixed
|
#
getCategory( string $category_name = '', string $dirname = 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. |
public
mixed
|
#
getCommentsCategory( string $dirname = null )
Get associative array of info for the category to which comment events belong. |
public
mixed
|
|
public
boolean
|
#
eventEnabled( array & $category, array & $event, string $dirname )
Determine whether a particular notification event is enabled. Depends on module config options. |
public
mixed
|
|
public
mixed
|
#
getSubscribableCategories( string $module_dirname = null )
Get an array of associative info arrays for subscribable categories for the selected module. |
public
boolean|string
|
#
generateConfig( array & $category, array & $event, string $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. |
public
|
|
public
|
|
public
array
|
_addLog(),
disableCache(),
getConfig(),
getConfigs(),
getForm(),
getHandler(),
getModule(),
isCurrentModule(),
isUserAdmin(),
loadLanguage(),
loadLocale(),
path(),
redirect(),
setDebug(),
setDirname(),
url(),
xoops()
|
$_debug,
$_dirname,
$_module
|