|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| & | create ($isNew=true) |
| delete (&$image) | |
| & | get ($id, $getbinary=true) |
| getCount ($criteria=null) | |
| getList ($imgcat_id, $image_display=null) | |
| getObjects ($criteria=null, $id_as_key=false, $getbinary=false) | |
| insert (&$image) | |
Public Member Functions inherited from XoopsObjectHandler | |
| & | create () |
| delete (&$object) | |
| & | get ($int_id) |
| insert (&$object) | |
| XoopsObjectHandler (&$db) | |
Additional Inherited Members | |
Public Attributes inherited from XoopsObjectHandler | |
| $db | |
| & XoopsImageHandler::create | ( | $isNew = true | ) |
Create a new XoopsImage
| boolean | $isNew | Flag the object as "new" |
Definition at line 148 of file image.php.
References $image.
| XoopsImageHandler::delete | ( | & | $image | ) |
| & XoopsImageHandler::get | ( | $id, | |
$getbinary = true |
|||
| ) |
Load a XoopsImage object from the database
| int | $id | ID |
| boolean | $getbinary |
| XoopsImageHandler::getCount | ( | $criteria = null | ) |
| XoopsImageHandler::getList | ( | $imgcat_id, | |
$image_display = null |
|||
| ) |
Get a list of images
| int | $imgcat_id | |
| bool | $image_display |
Definition at line 332 of file image.php.
References $criteria, $i, $ret, and getObjects().

Load XoopsImages from the database
| object | $criteria | CriteriaElement |
| boolean | $id_as_key | Use the ID as key into the array |
| boolean | $getbinary |
Definition at line 273 of file image.php.
References $criteria, $image, $limit, $result, $ret, $sql, and $start.
Referenced by getList().

| XoopsImageHandler::insert | ( | & | $image | ) |
Write a XoopsImage object to the database
| object | &$image | XoopsImage |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5