API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsImagecategoryHandler Class Reference
Inheritance diagram for XoopsImagecategoryHandler:
Collaboration diagram for XoopsImagecategoryHandler:

Public Member Functions

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

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

Member Function Documentation

◆ create()

create (   $isNew = true)

Create a new XoopsImageCategory

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

◆ delete()

delete ( XoopsObject  $imgcat)

Delete an image from the database

Parameters
XoopsObject | XoopsImageCategory$imgcata XoopsImageCategory object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

◆ get()

get (   $id)

Load a XoopsImageCategory object from the database

Parameters
int$idID

Reimplemented from XoopsObjectHandler.

◆ getCount()

getCount ( CriteriaElement  $criteria = null)

Count some images

Parameters
CriteriaElement$criteriaCriteriaElement
Returns
int

◆ getList()

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

Get a list of image categories

Parameters
array$groups
string$perm
null$display
null$storetype
Here is the call graph for this function:

◆ getObjects()

getObjects ( CriteriaElement  $criteria = null,
  $id_as_key = false 
)

Enter description here...

Parameters
CriteriaElement$criteria
bool$id_as_keyif true, use id as array key
Returns
array of XoopsImagecategory objects
Here is the caller graph for this function:

◆ insert()

insert ( XoopsObject  $imgcat)

Write a XoopsImageCategory object to the database

Parameters
XoopsObject | XoopsImageCategory$imgcata XoopsImageCategory object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

Here is the call graph for this function:

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