XOOPS 2.5.6
Final
|
Public Member Functions | |
& | create ($isNew=true) |
delete (&$config) | |
& | get ($id) |
getCount ($criteria=null) | |
getObjects ($criteria=null, $id_as_key=false) | |
insert (&$config) | |
Public Member Functions inherited from XoopsObjectHandler | |
& | create () |
delete (&$object) | |
& | get ($int_id) |
insert (&$object) | |
XoopsObjectHandler (&$db) | |
Additional Inherited Members | |
Public Attributes inherited from XoopsObjectHandler | |
$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 253 of file configitem.php.
& XoopsConfigItemHandler::create | ( | $isNew = true | ) |
Create a new XoopsConfigItem
bool | $isNew | Flag the config as "new"? |
Definition at line 262 of file configitem.php.
References $config.
XoopsConfigItemHandler::delete | ( | & | $config | ) |
Delete a config from the database
object | &$config | Config to delete |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 341 of file configitem.php.
& XoopsConfigItemHandler::get | ( | $id | ) |
Load a config from the database
int | $id | ID of the config |
Definition at line 277 of file configitem.php.
XoopsConfigItemHandler::getCount | ( | $criteria = null | ) |
Count configs
object | $criteria | CriteriaElement |
Definition at line 397 of file configitem.php.
References $criteria, $limit, $result, $ret, $sql, and $start.
XoopsConfigItemHandler::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? |
Definition at line 363 of file configitem.php.
References $config, $criteria, $limit, $result, $ret, $sql, and $start.
XoopsConfigItemHandler::insert | ( | & | $config | ) |
Write a config to the database
object | &$config | XoopsConfigItem object |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 302 of file configitem.php.