|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| __construct (&$db) | |
| & | createConfig () |
| & | getConfig ($id, $withoptions=false) |
| insertConfig (&$config) | |
| deleteConfig (&$config) | |
| & | getConfigs ($criteria=null, $id_as_key=false, $with_options=false) |
| getConfigCount ($criteria=null) | |
| & | getConfigsByCat ($category, $module=0) |
| & | getConfigsByDirname ($dirname, $category=0) |
| & | createConfigOption () |
| & | getConfigOption ($id) |
| & | getConfigOptions ($criteria=null, $id_as_key=false) |
| getConfigOptionsCount ($criteria=null) | |
| & | getConfigList ($conf_modid, $conf_catid=0) |
Data Fields | |
| $_cHandler | |
| $_oHandler | |
| $_cachedConfigs = [] | |
Definition at line 25 of file config.php.
| __construct | ( | & | $db | ) |
Constructor
| object | &$db | reference to database object |
Definition at line 58 of file config.php.
| & createConfig | ( | ) |
Create a config
XoopsConfigItem Definition at line 70 of file config.php.
| & createConfigOption | ( | ) |
Make a new XoopsConfigOption
XoopsConfigOption Definition at line 244 of file config.php.
| deleteConfig | ( | & | $config | ) |
Delete a config from the database
| object | &$config | reference to a XoopsConfigItem |
Definition at line 124 of file config.php.
| & getConfig | ( | $id, | |
| $withoptions = false ) |
Get a config
| int | $id | ID of the config |
| bool | $withoptions | load the config's options now? |
XoopsConfig Definition at line 83 of file config.php.
| getConfigCount | ( | $criteria = null | ) |
Count some configs
| object | $criteria | CriteriaElement |
Definition at line 167 of file config.php.
| & getConfigList | ( | $conf_modid, | |
| $conf_catid = 0 ) |
Get a list of configs
| int | $conf_modid | ID of the modules |
| int | $conf_catid | ID of the category |
Definition at line 297 of file config.php.
| & getConfigOption | ( | $id | ) |
Get a XoopsConfigOption
| int | $id | ID of the config option |
XoopsConfigOption Definition at line 257 of file config.php.
| & getConfigOptions | ( | $criteria = null, | |
| $id_as_key = false ) |
Get one or more XoopsConfigOptions
| object | $criteria | CriteriaElement |
| bool | $id_as_key | Use IDs as keys in the array? |
XoopsConfigOptions Definition at line 271 of file config.php.
| getConfigOptionsCount | ( | $criteria = null | ) |
Count some XoopsConfigOptions
| object | $criteria | CriteriaElement |
XoopsConfigOptions matching $criteria Definition at line 284 of file config.php.
| & getConfigs | ( | $criteria = null, | |
| $id_as_key = false, | |||
| $with_options = false ) |
get one or more Configs
| object | $criteria | CriteriaElement |
| bool | $id_as_key | Use the configs' ID as keys? |
| bool | $with_options | get the options now? |
XoopsConfigItem objects Definition at line 155 of file config.php.
| & getConfigsByCat | ( | $category, | |
| $module = 0 ) |
Get configs from a certain category
| int | $category | ID of a category |
| int | $module | ID of a module |
XoopsConfigs Definition at line 181 of file config.php.
| & getConfigsByDirname | ( | $dirname, | |
| $category = 0 ) |
Get configs by dirname.
| string | $dirname | |
| int | $category | ID of a category. (Reserved) |
Definition at line 223 of file config.php.
| insertConfig | ( | & | $config | ) |
insert a new config in the database
| object | &$config | reference to the XoopsConfigItem |
Definition at line 98 of file config.php.
| $_cachedConfigs = [] |
Definition at line 51 of file config.php.
| $_cHandler |
Definition at line 34 of file config.php.
| $_oHandler |
Definition at line 42 of file config.php.