![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| create ($isNew=true) | |
| get ($id, $getbinary=true) | |
| insert (XoopsObject $image) | |
| delete (XoopsObject $image) | |
| getObjects (CriteriaElement $criteria=null, $id_as_key=false, $getbinary=false) | |
| getCount (CriteriaElement $criteria=null) | |
| getList ($imgcat_id, $image_display=null) | |
Public Member Functions inherited from XoopsObjectHandler | |
| __construct (XoopsDatabase $db) | |
| XoopsObjectHandler ($db) | |
| create () | |
| get ($id) | |
| insert (XoopsObject $object) | |
| delete (XoopsObject $object) | |
Additional Inherited Members | |
Data Fields inherited from XoopsObjectHandler | |
| $db | |
| create | ( | $isNew = true | ) |
| delete | ( | XoopsObject | $image | ) |
Delete an image from the database
| XoopsObject | XoopsImage | $image | a XoopsImage object |
Reimplemented from XoopsObjectHandler.
| get | ( | $id, | |
$getbinary = true |
|||
| ) |
Load a XoopsImage object from the database
| int | $id | ID |
| boolean | $getbinary |
XoopsImage, FALSE on fail | getCount | ( | CriteriaElement | $criteria = null | ) |
| getList | ( | $imgcat_id, | |
$image_display = null |
|||
| ) |
Get a list of images
| int | $imgcat_id | |
| bool | $image_display |
XoopsImage objects 
| getObjects | ( | CriteriaElement | $criteria = null, |
$id_as_key = false, |
|||
$getbinary = false |
|||
| ) |
Load XoopsImages from the database
| CriteriaElement | CriteriaCompo | $criteria | CriteriaElement |
| boolean | $id_as_key | Use the ID as key into the array |
| boolean | $getbinary |
XoopsImage objects 
| insert | ( | XoopsObject | $image | ) |
Write a XoopsImage object to the database
| XoopsObject | XoopsImage | $image | a XoopsImage object |
Reimplemented from XoopsObjectHandler.
