XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsImagecategoryHandler Class Reference
Inheritance diagram for XoopsImagecategoryHandler:
Inheritance graph

Public Member Functions

create ($isNew=true)
 
 delete (&$imgcat)
 
get ($id)
 
 getCount ($criteria=null)
 
 getList ($groups=array(), $perm= 'imgcat_read', $display=null, $storetype=null)
 
 getObjects ($criteria=null, $id_as_key=false)
 
 insert (&$imgcat)
 
- 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
 

Detailed Description

XOOPS image caetgory handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS image category class objects.

Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org

Definition at line 166 of file imagecategory.php.

Member Function Documentation

& XoopsImagecategoryHandler::create (   $isNew = true)

Create a new XoopsImageCategory

Parameters
boolean$isNewFlag the object as "new"
Returns
object

Definition at line 174 of file imagecategory.php.

XoopsImagecategoryHandler::delete ( $imgcat)

Delete an image from the database

Parameters
object&$imgcatXoopsImageCategory
Returns
bool

: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5

Definition at line 254 of file imagecategory.php.

References $result, and $sql.

& XoopsImagecategoryHandler::get (   $id)

Load a XoopsImageCategory object from the database

Parameters
int$idID
boolean$getbinary
Returns
object XoopsImageCategory, FALSE on fail

Definition at line 190 of file imagecategory.php.

References $result, and $sql.

XoopsImagecategoryHandler::getCount (   $criteria = null)

Count some images

Parameters
object$criteriaCriteriaElement
Returns
int

Definition at line 312 of file imagecategory.php.

References $criteria, $result, and $sql.

XoopsImagecategoryHandler::getList (   $groups = array(),
  $perm = 'imgcat_read',
  $display = null,
  $storetype = null 
)

Get a list of imagesCaegories

Parameters
int$imgcat_id
bool$image_display
Returns
array Array of XoopsImage objects

Definition at line 333 of file imagecategory.php.

References $criteria, $groups, $i, $ret, and getObjects().

Here is the call graph for this function:

XoopsImagecategoryHandler::getObjects (   $criteria = null,
  $id_as_key = false 
)

Enter description here...

Parameters
unknown_type$criteria
unknown_type$id_as_key
Returns
unknown

Definition at line 277 of file imagecategory.php.

References $criteria, $limit, $result, $ret, $sql, and $start.

Referenced by getList().

Here is the caller graph for this function:

XoopsImagecategoryHandler::insert ( $imgcat)

Write a XoopsImageCategory object to the database

Parameters
object&$imgcatXoopsImageCategory
Returns
bool

: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5

Definition at line 214 of file imagecategory.php.

References $result, and $sql.


The documentation for this class was generated from the following file: