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

Public Member Functions

 create ($isNew=true)
 
 get ($id)
 
 getByName ($tplset_name)
 
 insert (XoopsObject $tplset)
 
 delete (XoopsObject $tplset)
 
 getObjects (CriteriaElement $criteria=null, $id_as_key=false)
 
 getCount (CriteriaElement $criteria=null)
 
 getList (CriteriaElement $criteria=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 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
Todo:
This is not a XoopsPersistableObjectHandler?

Member Function Documentation

◆ create()

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

◆ delete()

delete ( XoopsObject  $tplset)

delete a tplset from the database

Parameters
XoopsObject | XoopsTplset$tplseta XoopsTplset object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

◆ get()

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

Reimplemented from XoopsObjectHandler.

◆ getByName()

getByName (   $tplset_name)

retrieve a specific XoopsBlock

See also
XoopsTplset
Parameters
$tplset_name

◆ getCount()

getCount ( CriteriaElement  $criteria = null)

Count tplsets

Parameters
CriteriaElement | CriteriaCompo$criteriaCriteriaElement
Returns
int Count of tplsets matching $criteria

◆ getList()

getList ( CriteriaElement  $criteria = null)

get a list of tplsets matchich certain conditions

Parameters
CriteriaElement$criteriaconditions to match
Returns
array array of tplsets matching the conditions
Here is the call graph for this function:

◆ getObjects()

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

Get tplsets from the database

Parameters
CriteriaElement | CriteriaCompo$criteriaCriteriaElement
bool$id_as_keyreturn the tplsets id as key?
Returns
array Array of XoopsTplset objects
Here is the caller graph for this function:

◆ insert()

insert ( XoopsObject  $tplset)

write a new block into the database

Parameters
XoopsObject | XoopsTplset$tplseta XoopsTplset 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: