Public Member Functions | |
& | create ($isNew=true) |
& | get ($id) |
insert (&$config) | |
delete (&$config) | |
& | getObjects ($criteria=null, $id_as_key=false) |
getCount ($criteria=null) |
This class is responsible for providing data access mechanisms to the data source of XOOPS configuration class objects.
& XoopsConfigItemHandler::create | ( | $ | isNew = true |
) |
Create a new XoopsConfigItem
bool | $isNew Flag the config as "new"? |
& XoopsConfigItemHandler::get | ( | $ | id | ) |
Load a config from the database
int | $id ID of the config |
XoopsConfigItemHandler::insert | ( | &$ | config | ) |
Write a config to the database
object | &$config XoopsConfigItem object |
XoopsConfigItemHandler::delete | ( | &$ | config | ) |
Delete a config from the database
object | &$config Config to delete |
& 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? |
XoopsConfigItemHandler::getCount | ( | $ | criteria = null |
) |
Count configs
object | $criteria CriteriaElement |