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

Public Member Functions

 categories ()
 
 configs ()
 
- Public Member Functions inherited from Xoops\Module\Plugin\PluginAbstract
 __construct ($dirname)
 

Detailed Description

Definition at line 22 of file userconfigs.php.

Member Function Documentation

MonologUserconfigsPlugin::categories ( )

Build an array of configurable item categories.

Each category consists of an array with the following key - value pairs name, Name of the category description, Description for the category, use constant

Each category must have a unique key that can be specified in each related configurable item.

Returns
array of categories

Implements UserconfigsPluginInterface.

Definition at line 36 of file userconfigs.php.

References _MI_MONOLOG_UCONF_CAT_OPT, and _MI_MONOLOG_UCONF_CAT_OPT_DESC.

MonologUserconfigsPlugin::configs ( )

Build an array of user configurable items.

Each item consists of an array with the following key - value pairs

  • name Name of the config
  • title Display name for the config, use constant
  • description Description for the config, use constant
  • formtype Form to use for the config
  • default Default value for the config
  • options Options available for the config
  • category Category for this config, use the unique identifier set on categories()
Returns
array of user configurable items

Implements UserconfigsPluginInterface.

Definition at line 59 of file userconfigs.php.

References $config.


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