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

Public Member Functions

create ($isNew=true)
 
 delete (&$imgset)
 
get ($id)
 
 getList ($refid=null, $tplset=null)
 
 getObjects ($criteria=null, $id_as_key=false)
 
 insert (&$imgset)
 
 linkThemeset ($imgset_id, $tplset_name)
 
 unlinkThemeset ($imgset_id, $tplset_name)
 
- 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 imageset handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS imageset class objects.

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

Definition at line 86 of file imageset.php.

Member Function Documentation

& XoopsImagesetHandler::create (   $isNew = true)

Create a new XoopsImageSet

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

Definition at line 94 of file imageset.php.

XoopsImagesetHandler::delete ( $imgset)

Delete an XoopsImageSet from the database

Parameters
object&$imageXoopsImageSet
Returns
bool

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

Definition at line 174 of file imageset.php.

References $result, and $sql.

& XoopsImagesetHandler::get (   $id)

Load a XoopsImageSet object from the database

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

Definition at line 110 of file imageset.php.

References $result, and $sql.

XoopsImagesetHandler::getList (   $refid = null,
  $tplset = null 
)

Get a list of XoopsImageSet

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

Definition at line 280 of file imageset.php.

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

Here is the call graph for this function:

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

Load XoopsImageSets from the database

Parameters
object$criteriaCriteriaElement
boolean$id_as_keyUse the ID as key into the array
boolean$getbinary
Returns
array Array of XoopsImageSet objects

Definition at line 199 of file imageset.php.

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

Referenced by getList().

Here is the caller graph for this function:

XoopsImagesetHandler::insert ( $imgset)

Write a XoopsImageSet object to the database

Parameters
object&$imageXoopsImageSet
Returns
bool

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

Definition at line 134 of file imageset.php.

References $result, and $sql.

XoopsImagesetHandler::linkThemeset (   $imgset_id,
  $tplset_name 
)

Load ThemeSets into a Database

Parameters
int$imgset_id
string$tplset_name
Returns
array

Definition at line 233 of file imageset.php.

References $result, $sql, and unlinkThemeset().

Here is the call graph for this function:

XoopsImagesetHandler::unlinkThemeset (   $imgset_id,
  $tplset_name 
)

Load ThemeSets into a Database

Parameters
int$imgset_id
string$tplset_name
Returns
array

Definition at line 258 of file imageset.php.

References $result, and $sql.

Referenced by linkThemeset().

Here is the caller graph for this function:


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