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

Public Member Functions

create ($isNew=true)
 
 delete (&$imgsetimg)
 
get ($id)
 
 getByImageset ($imgset_id, $id_as_key=false)
 
 getCount ($criteria=null)
 
 getObjects ($criteria=null, $id_as_key=false)
 
 imageExists ($filename, $imgset_id)
 
 insert (&$imgsetimg)
 
- 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 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

Definition at line 94 of file imagesetimg.php.

Member Function Documentation

& XoopsImagesetimgHandler::create (   $isNew = true)

Create a new XoopsImageSetImg

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

Definition at line 102 of file imagesetimg.php.

XoopsImagesetimgHandler::delete ( $imgsetimg)

Delete an image from the database

Parameters
object&$imgsetimgXoopsImageSetImg
Returns
bool

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

Definition at line 182 of file imagesetimg.php.

References $result, and $sql.

& XoopsImagesetimgHandler::get (   $id)

Load a XoopsImageSetImg object from the database

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

Definition at line 118 of file imagesetimg.php.

References $result, and $sql.

XoopsImagesetimgHandler::getByImageset (   $imgset_id,
  $id_as_key = false 
)

Function-Documentation

Parameters
type$imgset_iddocumentation
type$id_as_key= false documentation
Returns
type documentation
Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org

Definition at line 260 of file imagesetimg.php.

References getObjects().

Here is the call graph for this function:

XoopsImagesetimgHandler::getCount (   $criteria = null)

Count some imagessetsimg

Parameters
object$criteriaCriteriaElement
Returns
int

Definition at line 240 of file imagesetimg.php.

References $criteria, $result, and $sql.

Referenced by imageExists().

Here is the caller graph for this function:

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

Load XoopsImageSetImgs from the database

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

Definition at line 206 of file imagesetimg.php.

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

Referenced by getByImageset().

Here is the caller graph for this function:

XoopsImagesetimgHandler::imageExists (   $filename,
  $imgset_id 
)

Function-Documentation

Parameters
type$filenamedocumentation
type$imgset_iddocumentation
Returns
type documentation
Author
Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org

Definition at line 272 of file imagesetimg.php.

References $criteria, and getCount().

Here is the call graph for this function:

XoopsImagesetimgHandler::insert ( $imgsetimg)

Write a XoopsImageSetImg object to the database

Parameters
object&$imgsetimgXoopsImageSetImg
Returns
bool

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

Definition at line 142 of file imagesetimg.php.

References $result, and $sql.


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