XOOPS 2.5.6
Final
|
Public Member Functions | |
& | createConfig () |
& | createConfigOption () |
deleteConfig (&$config) | |
deleteConfigOption (&$criteria) | |
& | getConfig ($id, $withoptions=false) |
getConfigCount ($criteria=null) | |
getConfigList ($conf_modid, $conf_catid=0) | |
& | getConfigOption ($id) |
getConfigOptions ($criteria=null, $id_as_key=false) | |
getConfigOptionsCount ($criteria=null) | |
getConfigs ($criteria=null, $id_as_key=false, $with_options=false) | |
& | getConfigsByCat ($category, $module=0) |
insertConfig (&$config) | |
XoopsConfigHandler (&$db) | |
Public Attributes | |
$_cachedConfigs = array() | |
$_cHandler | |
$_oHandler | |
XOOPS configuration handling class. This class acts as an interface for handling general configurations of XOOPS and its modules.
Definition at line 34 of file config.php.
& XoopsConfigHandler::createConfig | ( | ) |
Create a config
Definition at line 79 of file config.php.
& XoopsConfigHandler::createConfigOption | ( | ) |
Make a new XoopsConfigOption
Definition at line 214 of file config.php.
XoopsConfigHandler::deleteConfig | ( | & | $config | ) |
Delete a config from the database
object | &$config | reference to a XoopsConfigItem |
Definition at line 133 of file config.php.
XoopsConfigHandler::deleteConfigOption | ( | & | $criteria | ) |
& XoopsConfigHandler::getConfig | ( | $id, | |
$withoptions = false |
|||
) |
Get a config
int | $id | ID of the config |
bool | $withoptions | load the config's options now? |
Definition at line 92 of file config.php.
References $config.
XoopsConfigHandler::getConfigCount | ( | $criteria = null | ) |
Count some configs
object | $criteria | CriteriaElement |
Definition at line 174 of file config.php.
References $criteria.
XoopsConfigHandler::getConfigList | ( | $conf_modid, | |
$conf_catid = 0 |
|||
) |
& XoopsConfigHandler::getConfigOption | ( | $id | ) |
Get a XoopsConfigOption
int | $id | ID of the config option |
Definition at line 227 of file config.php.
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? |
Definition at line 241 of file config.php.
References $criteria.
XoopsConfigHandler::getConfigOptionsCount | ( | $criteria = null | ) |
Count some XoopsConfigOptions
object | $criteria | CriteriaElement |
Definition at line 253 of file config.php.
References $criteria.
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? |
Definition at line 164 of file config.php.
References $criteria.
& XoopsConfigHandler::getConfigsByCat | ( | $category, | |
$module = 0 |
|||
) |
Get configs from a certain category
int | $category | ID of a category |
int | $module | ID of a module |
Definition at line 187 of file config.php.
XoopsConfigHandler::insertConfig | ( | & | $config | ) |
insert a new config in the database
object | &$config | reference to the XoopsConfigItem |
Definition at line 106 of file config.php.
XoopsConfigHandler::XoopsConfigHandler | ( | & | $db | ) |
Constructor
object | &$db | reference to database object |
Definition at line 67 of file config.php.
References $db.
XoopsConfigHandler::$_cachedConfigs = array() |
Definition at line 60 of file config.php.
XoopsConfigHandler::$_cHandler |
Definition at line 43 of file config.php.
XoopsConfigHandler::$_oHandler |
Definition at line 51 of file config.php.