Public Member Functions | |
| XoopsConfigHandler (&$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) |
| XoopsConfigHandler::XoopsConfigHandler | ( | &$ | db | ) |
Constructor
| object | &$db reference to database object |
| & XoopsConfigHandler::createConfig | ( | ) |
| & XoopsConfigHandler::getConfig | ( | $ | id, | |
| $ | withoptions = false | |||
| ) |
Get a config
| int | $id ID of the config | |
| bool | $withoptions load the config's options now? |
| XoopsConfigHandler::insertConfig | ( | &$ | config | ) |
| XoopsConfigHandler::deleteConfig | ( | &$ | config | ) |
| & XoopsConfigHandler::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? |
| XoopsConfigHandler::getConfigCount | ( | $ | criteria = null |
) |
| & XoopsConfigHandler::getConfigsByCat | ( | $ | category, | |
| $ | module = 0 | |||
| ) |
Get configs from a certain category
| int | $category ID of a category | |
| int | $module ID of a module |
| & XoopsConfigHandler::getConfigsByDirname | ( | $ | dirname, | |
| $ | category = 0 | |||
| ) |
Get configs by dirname.
| string | $dirname | |
| int | $category ID of a category. (Reserved) |
| & XoopsConfigHandler::createConfigOption | ( | ) |
| & XoopsConfigHandler::getConfigOption | ( | $ | id | ) |
Get a XoopsConfigOption
| int | $id ID of the config option |
| & XoopsConfigHandler::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? |
| XoopsConfigHandler::getConfigOptionsCount | ( | $ | criteria = null |
) |
Count some XoopsConfigOptions
| object | $criteria CriteriaElement |
| & XoopsConfigHandler::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 |
1.5.1