|
XOOPS
2.6.0
|

Public Member Functions | |
| __construct () | |
| createConfig () | |
| createConfigOption () | |
| createDefaultUserConfigs ($uid, XoopsModule $module) | |
| deleteConfig (UserconfigsItem $config) | |
| deleteConfigsByModule ($module=0) | |
| getConfig ($id, $withoptions=false) | |
| getConfigCount (CriteriaElement $criteria=null) | |
| getConfigList ($conf_modid, $conf_uid=0) | |
| getConfigOption ($id) | |
| getConfigOptions (CriteriaElement $criteria=null, $id_as_key=false) | |
| getConfigOptionsCount (CriteriaElement $criteria=null) | |
| getConfigs (CriteriaElement $criteria=null, $id_as_key=false) | |
| getConfigsByModule ($module=0) | |
| getConfigsByUser ($uid, $moduleId) | |
| insertConfig (UserconfigsItem $config) | |
Public Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| create () | |
| delete (XoopsObject $object, $force=true) | |
| get ($int_id) | |
| insert (XoopsObject $object, $force=true) | |
Private Attributes | |
| $_cachedConfigs = array() | |
| $_iHandler | |
| $_oHandler | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| $db2 | |
Protected Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| __construct (Connection $db=null) | |
Definition at line 26 of file config.php.
| UserconfigsConfigHandler::__construct | ( | ) |
Constructor
Definition at line 56 of file config.php.
References $helper, and Userconfigs\getInstance().

| UserconfigsConfigHandler::createConfig | ( | ) |
Create a config
Definition at line 69 of file config.php.
Referenced by createDefaultUserConfigs().

| UserconfigsConfigHandler::createConfigOption | ( | ) |
Make a new UserconfigsOption
Definition at line 261 of file config.php.
Referenced by createDefaultUserConfigs().

| UserconfigsConfigHandler::createDefaultUserConfigs | ( | $uid, | |
| XoopsModule | $module | ||
| ) |
Definition at line 335 of file config.php.
References $config, $configs, $uid, createConfig(), createConfigOption(), Xoops\Core\Kernel\XoopsObject\getVar(), and insertConfig().

| UserconfigsConfigHandler::deleteConfig | ( | UserconfigsItem | $config | ) |
Delete a config from the database
| UserconfigsItem | $config | UserconfigsItem |
Definition at line 129 of file config.php.
References $count, $i, $options, getConfigOptions(), UserconfigsItem\getConfOptions(), and Xoops\Core\Kernel\XoopsObject\getVar().
Referenced by deleteConfigsByModule().


| UserconfigsConfigHandler::deleteConfigsByModule | ( | $module = 0 | ) |
Deletes configs from a certain module
| int | $module |
Definition at line 215 of file config.php.
References $configs, $criteria, $i, $module, deleteConfig(), and getConfigs().

| UserconfigsConfigHandler::getConfig | ( | $id, | |
$withoptions = false |
|||
| ) |
Get a config
| int | $id | ID of the config |
| bool | $withoptions | load the config's options now? |
Definition at line 83 of file config.php.
References $config, $id, and getConfigOptions().

| UserconfigsConfigHandler::getConfigCount | ( | CriteriaElement | $criteria = null | ) |
Count some configs
| CriteriaElement | null | $criteria | CriteriaElement |
Definition at line 182 of file config.php.
References $criteria.
| UserconfigsConfigHandler::getConfigList | ( | $conf_modid, | |
$conf_uid = 0 |
|||
| ) |
Get a list of configs
| int | $conf_modid | ID of the modules |
| int | $conf_uid | ID of the user |
Definition at line 313 of file config.php.
| UserconfigsConfigHandler::getConfigOption | ( | $id | ) |
Get a UserconfigsOption
| int | $id | ID of the config option |
Definition at line 274 of file config.php.
References $id.
| UserconfigsConfigHandler::getConfigOptions | ( | CriteriaElement | $criteria = null, |
$id_as_key = false |
|||
| ) |
Get one or more UserconfigsOptions
| CriteriaElement | null | $criteria | CriteriaElement |
| bool | $id_as_key | Use IDs as keys in the array? |
Definition at line 288 of file config.php.
References $criteria.
Referenced by deleteConfig(), and getConfig().

| UserconfigsConfigHandler::getConfigOptionsCount | ( | CriteriaElement | $criteria = null | ) |
Count some UserconfigsOptions
| CriteriaElement | null | $criteria | CriteriaElement |
Definition at line 300 of file config.php.
References $criteria.
| UserconfigsConfigHandler::getConfigs | ( | CriteriaElement | $criteria = null, |
$id_as_key = false |
|||
| ) |
get one or more Configs
| CriteriaElement | null | $criteria | CriteriaElement |
| bool | $id_as_key | Use the configs' ID as keys? |
Definition at line 159 of file config.php.
References $criteria, and $criteria2.
Referenced by deleteConfigsByModule(), getConfigsByModule(), and getConfigsByUser().

| UserconfigsConfigHandler::getConfigsByModule | ( | $module = 0 | ) |
Get configs from a certain module
| int | $module | ID of a module |
Definition at line 194 of file config.php.
References $_cachedConfigs, $configs, $criteria, $i, $module, and getConfigs().

| UserconfigsConfigHandler::getConfigsByUser | ( | $uid, | |
| $moduleId | |||
| ) |
Get configs from a certain user
| int | $uid | ID of a user |
| int | $moduleId | ID of a module |
Definition at line 236 of file config.php.
References $_cachedConfigs, $configs, $criteria, $i, $uid, and getConfigs().

| UserconfigsConfigHandler::insertConfig | ( | UserconfigsItem | $config | ) |
insert a new config in the database
| UserconfigsItem | $config | UserconfigsItem |
Definition at line 100 of file config.php.
References $count, $i, $msg, $options, UserconfigsItem\getConfOptions(), Xoops\Core\Kernel\XoopsObject\getVar(), and Xoops\Core\Kernel\XoopsObject\setErrors().
Referenced by createDefaultUserConfigs().


|
private |
Definition at line 51 of file config.php.
Referenced by getConfigsByModule(), and getConfigsByUser().
|
private |
Definition at line 34 of file config.php.
|
private |
Definition at line 42 of file config.php.