◆ cleanVars()
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
- Parameters
-
- Returns
- bool true if successful @access public
◆ delete()
delete |
( |
& |
$object, |
|
|
|
$force = false |
|
) |
| |
delete an object from the database
- Parameters
-
object | $object | XoopsObject reference to the object to delete |
bool | $force | |
- Returns
- bool FALSE if failed.
◆ deleteAll()
delete all objects matching the conditions
- Parameters
-
- Returns
- bool|int
◆ insert()
insert |
( |
& |
$object, |
|
|
|
$force = true |
|
) |
| |
insert an object into the database
- Parameters
-
object | $object | XoopsObject reference to object |
bool | $force | flag to force the query execution despite security settings |
- Returns
- mixed object ID
◆ updateAll()
updateAll |
( |
|
$fieldname, |
|
|
|
$fieldvalue, |
|
|
CriteriaElement |
$criteria = null , |
|
|
|
$force = false |
|
) |
| |
Change a field for objects with a certain criteria
- Parameters
-
- Returns
- bool
The documentation for this class was generated from the following file: