API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
create ($isNew=true) | |
get ($id) | |
insert (XoopsObject $config) | |
delete (XoopsObject $config) | |
getObjects (CriteriaElement $criteria=null, $id_as_key=false) | |
getCount (CriteriaElement $criteria=null) | |
Public Member Functions inherited from XoopsObjectHandler | |
__construct (XoopsDatabase $db) | |
XoopsObjectHandler ($db) | |
create () | |
get ($id) | |
insert (XoopsObject $object) | |
delete (XoopsObject $object) | |
Additional Inherited Members | |
Data Fields 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.
create | ( | $isNew = true | ) |
Create a new XoopsConfigItem
bool | $isNew | Flag the config as "new"? |
delete | ( | XoopsObject | $config | ) |
Delete a config from the database
XoopsObject | XoopsConfigItem | $config | a XoopsConfigCategory object |
Reimplemented from XoopsObjectHandler.
get | ( | $id | ) |
Load a config from the database
int | $id | ID of the config |
Reimplemented from XoopsObjectHandler.
getCount | ( | CriteriaElement | $criteria = null | ) |
Count configs
CriteriaElement | CriteriaCompo | $criteria | CriteriaElement |
getObjects | ( | CriteriaElement | $criteria = null , |
$id_as_key = false |
|||
) |
Get configs from the database
CriteriaElement | CriteriaCompo | $criteria | CriteriaElement |
bool | $id_as_key | return the config's id as key? |
XoopsConfigItem
objects insert | ( | XoopsObject | $config | ) |
Write a config to the database
XoopsObject | XoopsConfigItem | $config | a XoopsConfigCategory object |
Reimplemented from XoopsObjectHandler.