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

Public Member Functions

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

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

Definition at line 102 of file tplset.php.

Member Function Documentation

& XoopsTplsetHandler::create (   $isNew = true)

create a new block

See Also
XoopsTplset
Parameters
bool$isNewis the new tplsets new??
Returns
object XoopsTplset reference to the new tplsets

Definition at line 111 of file tplset.php.

XoopsTplsetHandler::delete ( $tplset)

delete a tplset from the database

Parameters
objectXoopsTplset tplset reference to the tplsets to delete
Returns
bool TRUE if succesful

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

Definition at line 215 of file tplset.php.

References $result, and $sql.

& XoopsTplsetHandler::get (   $id)

retrieve a specific XoopsBlock

See Also
XoopsTplset
Parameters
int$idtplset_id of the tplsets to retrieve
Returns
object XoopsTplset reference to the tplsets

Definition at line 127 of file tplset.php.

References $result, and $sql.

& XoopsTplsetHandler::getByName (   $tplset_name)

retrieve a specific XoopsBlock

See Also
XoopsTplset
Parameters
int$idtplset_id of the block to retrieve
Returns
object XoopsTplset reference to the tplsets

Definition at line 152 of file tplset.php.

References $result, and $sql.

XoopsTplsetHandler::getCount (   $criteria = null)

Count tplsets

Parameters
object$criteriaCriteriaElement
Returns
int Count of tplsets matching $criteria

Definition at line 272 of file tplset.php.

References $criteria, $result, and $sql.

XoopsTplsetHandler::getList (   $criteria = null)

get a list of tplsets matchich certain conditions

Parameters
string$criteriaconditions to match
Returns
array array of tplsets matching the conditions

Definition at line 291 of file tplset.php.

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

Here is the call graph for this function:

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

Get tplsets from the database

Parameters
object$criteriaCriteriaElement
bool$id_as_keyreturn the tplsets id as key?
Returns
array Array of XoopsTplset objects

Definition at line 239 of file tplset.php.

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

Referenced by getList().

Here is the caller graph for this function:

XoopsTplsetHandler::insert ( $tplset)

write a new block into the database

Parameters
objectXoopsTplset $block reference to the tplsets to insert
Returns
bool TRUE if succesful

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

Definition at line 176 of file tplset.php.

References $result, and $sql.


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