XOOPS
2.6.0
|
Public Member Functions | |
backend ($limit) | |
userMenus () | |
userPosts ($uid) | |
waiting () | |
Public Member Functions inherited from Xoops\Module\Plugin\PluginAbstract | |
__construct ($dirname) | |
Definition at line 20 of file system.php.
NotificationsSystemPlugin::backend | ( | $limit | ) |
Used to populate backend
int | $limit | : Number of item for backend |
Expects an array containing: title : Title for the backend items link : Link for the backend items content : content for the backend items date : Date of the backend items
Implements SystemPluginInterface.
Definition at line 32 of file system.php.
NotificationsSystemPlugin::userMenus | ( | ) |
Used to populate the User Block
Expects an array containing: name : Name for the Link link : Link relative to module image : Url of image to display, please use 16px*16px image
Implements SystemPluginInterface.
Definition at line 37 of file system.php.
References $helper, and Notifications\getInstance().
NotificationsSystemPlugin::userPosts | ( | $uid | ) |
Used to synchronize a user number of posts Please return the number of posts the user as made in your module
int | $uid | The uid of the user |
Implements SystemPluginInterface.
Definition at line 22 of file system.php.
NotificationsSystemPlugin::waiting | ( | ) |
Used to populate the Waiting Block
Expects an array containing: count : Number of waiting items, ex: 3 name : Name for the waiting items, ex: Pending approval link : Link for the waiting items, ex: Xoops::getInstance()->url('modules/comments/admin/main.php');
Implements SystemPluginInterface.
Definition at line 27 of file system.php.