XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
create ($isNew=true) | |
get ($id) | |
insert (XoopsObject $pm, $force=false) | |
delete (XoopsObject $pm) | |
getObjects (CriteriaElement $criteria=null, $id_as_key=false) | |
getCount (CriteriaElement $criteria=null) | |
setRead (XoopsPrivmessage $pm) | |
Fonctions membres publiques hérités de XoopsObjectHandler | |
__construct (XoopsDatabase $db) | |
XoopsObjectHandler ($db) | |
create () | |
insert (XoopsObject $object) | |
Membres hérités additionnels | |
Champs de données hérités de XoopsObjectHandler | |
$db | |
create | ( | $isNew = true | ) |
delete | ( | XoopsObject | $pm | ) |
Delete from the database
XoopsPrivmessage | $pm | XoopsPrivmessage object |
Réimplémentée à partir de XoopsObjectHandler.
get | ( | $id | ) |
Load a XoopsPrivmessage object
int | $id | ID of the message |
Réimplémentée à partir de XoopsObjectHandler.
getCount | ( | CriteriaElement | $criteria = null | ) |
Count message
CriteriaElement | CriteriaCompo | $criteria | = null CriteriaElement object |
getObjects | ( | CriteriaElement | $criteria = null , |
$id_as_key = false |
|||
) |
Load messages from the database
CriteriaElement | CriteriaCompo | $criteria | CriteriaElement object |
bool | $id_as_key | use ID as key into the array? |
insert | ( | XoopsObject | $pm, |
$force = false |
|||
) |
Insert a message in the database
XoopsPrivmessage | $pm | XoopsPrivmessage object |
bool | $force | flag to force the query execution skip request method check, which might be required in some situations |
XoopsObject | XoopsPrivmessage | $pm | a XoopsMembership object |
setRead | ( | XoopsPrivmessage | $pm | ) |
Mark a message as read
XoopsPrivmessage | $pm | XoopsPrivmessage object |
@TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5