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

Public Member Functions

 create ($isNew=true)
 
 get ($id)
 
 insert (XoopsObject $imgsetimg)
 
 delete (XoopsObject $imgsetimg)
 
 getObjects (CriteriaElement $criteria=null, $id_as_key=false)
 
 getCount (CriteriaElement $criteria=null)
 
 getByImageset ($imgset_id, $id_as_key=false)
 
 imageExists ($filename, $imgset_id)
 
- 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 imageset image handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS imageset image 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 XoopsImageSetImg

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

◆ delete()

delete ( XoopsObject  $imgsetimg)

Delete an image from the database

Parameters
XoopsObject | XoopsImageSetImg$imgsetimga XoopsImageSet object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

◆ get()

get (   $id)

Load a XoopsImageSetImg object from the database

Parameters
int$idID

Reimplemented from XoopsObjectHandler.

◆ getByImageset()

getByImageset (   $imgset_id,
  $id_as_key = false 
)

Function-Documentation

Parameters
int$imgset_idid of image set
bool$id_as_keyUse the ID as key into the array
Returns
array Array of XoopsImageSetImg objects
Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org
Here is the call graph for this function:

◆ getCount()

getCount ( CriteriaElement  $criteria = null)

Count some imagessetsimg

Parameters
CriteriaElement | CriteriaCompo$criteriaCriteriaElement
Returns
int
Here is the caller graph for this function:

◆ getObjects()

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

Load XoopsImageSetImgs from the database

Parameters
CriteriaElement | CriteriaCompo$criteriaCriteriaElement
boolean$id_as_keyUse the ID as key into the array
Here is the caller graph for this function:

◆ imageExists()

imageExists (   $filename,
  $imgset_id 
)

Function-Documentation

Parameters
string$filename
int$imgset_id
Returns
bool true if image exists
Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org
Here is the call graph for this function:

◆ insert()

insert ( XoopsObject  $imgsetimg)

Write a XoopsImageSetImg object to the database

Parameters
XoopsObject | XoopsImageSetImg$imgsetimga XoopsImageSet 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: