API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct (XoopsDatabase $db) | |
create ($isNew=true) | |
get ($id) | |
insert (XoopsObject $group) | |
delete (XoopsObject $group) | |
getObjects (CriteriaElement $criteria=null, $id_as_key=false) | |
Public Member Functions inherited from XoopsObjectHandler | |
__construct (XoopsDatabase $db) | |
XoopsObjectHandler ($db) | |
create () | |
get ($id) | |
insert (XoopsObject $object) | |
delete (XoopsObject $object) | |
Data Fields | |
$table | |
Data Fields inherited from XoopsObjectHandler | |
$db | |
__construct | ( | XoopsDatabase | $db | ) |
called from child classes only
XoopsDatabase | $db | reference to the XoopsDatabase object @access protected |
Reimplemented from XoopsObjectHandler.
create | ( | $isNew = true | ) |
create a new XoopsGroup
object
bool | $isNew | mark the new object as "new"? |
delete | ( | XoopsObject | $group | ) |
remove a group from the database
XoopsObject | XoopsGroup | $group | a group object |
Reimplemented from XoopsObjectHandler.
get | ( | $id | ) |
retrieve a specific group
int | $id | ID of the group to get |
Reimplemented from XoopsObjectHandler.
getObjects | ( | CriteriaElement | $criteria = null , |
$id_as_key = false |
|||
) |
retrieve groups from the database
CriteriaElement | CriteriaCompo | $criteria | CriteriaElement with conditions for the groups |
bool | $id_as_key | should the groups' IDs be used as keys for the associative array? |
insert | ( | XoopsObject | $group | ) |
insert a group into the database
XoopsObject | XoopsGroup | $group | a group object |
Reimplemented from XoopsObjectHandler.
$table |