![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de XoopsModelWrite:
Graphe de collaboration de XoopsModelWrite:Fonctions membres publiques | |
| cleanVars (&$object) | |
| insert (&$object, $force=true) | |
| delete (&$object, $force=false) | |
| deleteAll (CriteriaElement $criteria=null, $force=true, $asObject=false) | |
| updateAll ($fieldname, $fieldvalue, CriteriaElement $criteria=null, $force=false) | |
Fonctions membres publiques hérités de XoopsModelAbstract | |
| __construct ($args=null, $handler=null) | |
| setHandler ($handler) | |
| setVars ($args) | |
Membres hérités additionnels | |
Champs de données hérités de XoopsModelAbstract | |
| $handler | |
Object write handler class.
| cleanVars | ( | & | $object | ) |
Clean values of all variables of the object for storage. also add slashes and quote string wherever needed
CleanVars only contains changed and cleaned variables Reference is used for PHP4 compliance
| $object |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| delete | ( | & | $object, |
$force = false |
|||
| ) |
delete an object from the database
| object | $object | XoopsObject reference to the object to delete |
| bool | $force |
| deleteAll | ( | CriteriaElement | $criteria = null, |
$force = true, |
|||
$asObject = false |
|||
| ) |
delete all objects matching the conditions
| CriteriaElement | CriteriaCompo | $criteria | CriteriaElement with conditions to meet |
| bool | $force | force to delete |
| bool | $asObject | delete in object way: instantiate all objects and delete one by one |
| insert | ( | & | $object, |
$force = true |
|||
| ) |
insert an object into the database
| object | $object | XoopsObject reference to object |
| bool | $force | flag to force the query execution despite security settings |
Voici le graphe d'appel pour cette fonction :| updateAll | ( | $fieldname, | |
| $fieldvalue, | |||
| CriteriaElement | $criteria = null, |
||
$force = false |
|||
| ) |
Change a field for objects with a certain criteria
| string | $fieldname | Name of the field |
| mixed | $fieldvalue | Value to write |
| CriteriaElement | CriteriaCompo | $criteria | CriteriaElement |
| bool | $force | force to query |