XOOPS  2.6.0
XoopsTplsetHandler Class Reference
Inheritance diagram for XoopsTplsetHandler:
Inheritance graph

Public Member Functions

 __construct (Connection $db=null)
 
 getByName ($tplset_name)
 
 getNameList (CriteriaElement $criteria=null)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 __call ($name, $args)
 
 cleanOrphan ($table_link= '', $field_link= '', $field_object= '')
 
 create ($isNew=true)
 
 delete (XoopsObject $object, $force=false)
 
 deleteAll (CriteriaElement $criteria, $force=true, $asObject=false)
 
 deleteByLink (CriteriaElement $criteria=null)
 
 get ($id=null, $fields=null)
 
 getAll (CriteriaElement $criteria=null, $fields=null, $asObject=true, $id_as_key=true)
 
 getByLink (CriteriaElement $criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null)
 
 getCount (CriteriaElement $criteria=null)
 
 getCountByLink (CriteriaElement $criteria=null)
 
 getCounts (CriteriaElement $criteria=null)
 
 getCountsByLink (CriteriaElement $criteria=null)
 
 getIds (CriteriaElement $criteria=null)
 
 getList (CriteriaElement $criteria=null, $limit=0, $start=0)
 
 getObjects (CriteriaElement $criteria=null, $id_as_key=false, $as_object=true)
 
 insert (XoopsObject $object, $force=true)
 
 loadHandler ($name, $args=null)
 
 setHandler ($handler=null, $args=null, $path=null)
 
 synchronization ($table_link= '', $field_link= '', $field_object= '')
 
 updateAll ($fieldname, $fieldvalue, CriteriaElement $criteria, $force=false)
 
 updateByLink ($data, CriteriaElement $criteria=null)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler
 create ()
 
 delete (XoopsObject $object, $force=true)
 
 get ($int_id)
 
 insert (XoopsObject $object, $force=true)
 

Additional Inherited Members

- Public Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 $className
 
 $field_link
 
 $field_object
 
 $identifierName
 
 $keyName
 
 $keyName_link
 
 $table
 
 $table_link
 
- Public Attributes inherited from Xoops\Core\Kernel\XoopsObjectHandler
 $db2
 
- Protected Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 __construct (Connection $db=null, $table= '', $className= '', $keyName= '', $identifierName= '')
 
- Protected Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler
 __construct (Connection $db=null)
 
- Protected Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 $handler
 

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 109 of file tplset.php.

Constructor & Destructor Documentation

XoopsTplsetHandler::__construct ( Connection  $db = null)

Constructor

Parameters
Connection | null$dbConnection

Definition at line 117 of file tplset.php.

Member Function Documentation

XoopsTplsetHandler::getByName (   $tplset_name)

getByName

Parameters
string$tplset_nameof the block to retrieve
Returns
XoopsTplset|false reference to the tplsets

Definition at line 129 of file tplset.php.

References $result.

XoopsTplsetHandler::getNameList ( CriteriaElement  $criteria = null)

get a list of tplsets matching certain conditions

Parameters
CriteriaElement | null$criteriaconditions to match
Returns
array array of tplsets matching the conditions

Definition at line 161 of file tplset.php.

References $criteria, $i, and Xoops\Core\Kernel\XoopsPersistableObjectHandler\getObjects().

Here is the call graph for this function:


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