XOOPS  2.6.0
UserconfigsSystemPlugin Class Reference
Inheritance diagram for UserconfigsSystemPlugin:
Inheritance graph

Public Member Functions

 backend ($limit)
 
 userMenus ()
 
 userPosts ($uid)
 
 waiting ()
 
- Public Member Functions inherited from Xoops\Module\Plugin\PluginAbstract
 __construct ($dirname)
 

Detailed Description

Since
1.0
Author
trabis lusop.nosp@m.oema.nosp@m.s@gma.nosp@m.il.c.nosp@m.om
Version
$Id$

Definition at line 20 of file system.php.

Member Function Documentation

UserconfigsSystemPlugin::backend (   $limit)

Used to populate backend

Parameters
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

Returns
array

Implements SystemPluginInterface.

Definition at line 32 of file system.php.

UserconfigsSystemPlugin::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

Returns
array

Implements SystemPluginInterface.

Definition at line 37 of file system.php.

References $helper, and Userconfigs\getInstance().

Here is the call graph for this function:

UserconfigsSystemPlugin::userPosts (   $uid)

Used to synchronize a user number of posts Please return the number of posts the user as made in your module

Parameters
int$uidThe uid of the user
Returns
int Number of posts

Implements SystemPluginInterface.

Definition at line 22 of file system.php.

UserconfigsSystemPlugin::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');

Returns
array

Implements SystemPluginInterface.

Definition at line 27 of file system.php.


The documentation for this class was generated from the following file: