XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
& | create ($isNew=true) |
& | get ($id) |
insert (&$config) | |
delete (&$config) | |
& | getObjects ($criteria=null, $id_as_key=false) |
getCount ($criteria=null) | |
![]() | |
__construct (&$db) | |
& | create () |
Additional Inherited Members | |
![]() | |
$db | |
XOOPS configuration handler class.
This class is responsible for providing data access mechanisms to the data source of XOOPS configuration class objects.
Definition at line 283 of file configitem.php.
& create | ( | $isNew = true | ) |
Create a new XoopsConfigItem
bool | $isNew | Flag the config as "new"? |
Definition at line 293 of file configitem.php.
delete | ( | & | $config | ) |
Delete a config from the database
object | &$config | Config to delete |
Reimplemented from XoopsObjectHandler.
Definition at line 381 of file configitem.php.
& get | ( | $id | ) |
Load a config from the database
int | $id | ID of the config |
Reimplemented from XoopsObjectHandler.
Definition at line 308 of file configitem.php.
getCount | ( | $criteria = null | ) |
Count configs
object | $criteria | CriteriaElement |
Definition at line 435 of file configitem.php.
& getObjects | ( | $criteria = null, | |
$id_as_key = false ) |
Get configs from the database
object | $criteria | CriteriaElement |
bool | $id_as_key | return the config's id as key? |
XoopsConfigItem
objects Definition at line 400 of file configitem.php.
insert | ( | & | $config | ) |
Write a config to the database
object | &$config | XoopsConfigItem object |
Reimplemented from XoopsObjectHandler.
Definition at line 334 of file configitem.php.