XOOPS 2.5.6
Final
|
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 | |
XOOPS tplset handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS tplset class objects.
Definition at line 102 of file tplset.php.
& XoopsTplsetHandler::create | ( | $isNew = true | ) |
create a new block
bool | $isNew | is the new tplsets new?? |
Definition at line 111 of file tplset.php.
XoopsTplsetHandler::delete | ( | & | $tplset | ) |
delete a tplset from the database
object | XoopsTplset tplset reference to the tplsets to delete |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 215 of file tplset.php.
& XoopsTplsetHandler::get | ( | $id | ) |
retrieve a specific XoopsBlock
int | $id | tplset_id of the tplsets to retrieve |
Definition at line 127 of file tplset.php.
& XoopsTplsetHandler::getByName | ( | $tplset_name | ) |
retrieve a specific XoopsBlock
int | $id | tplset_id of the block to retrieve |
Definition at line 152 of file tplset.php.
XoopsTplsetHandler::getCount | ( | $criteria = null | ) |
Count tplsets
object | $criteria | CriteriaElement |
Definition at line 272 of file tplset.php.
XoopsTplsetHandler::getList | ( | $criteria = null | ) |
get a list of tplsets matchich certain conditions
string | $criteria | conditions to match |
Definition at line 291 of file tplset.php.
References $criteria, $i, $ret, and getObjects().
XoopsTplsetHandler::getObjects | ( | $criteria = null , |
|
$id_as_key = false |
|||
) |
Get tplsets from the database
object | $criteria | CriteriaElement |
bool | $id_as_key | return the tplsets id as key? |
Definition at line 239 of file tplset.php.
References $criteria, $limit, $result, $ret, $sql, and $start.
Referenced by getList().
XoopsTplsetHandler::insert | ( | & | $tplset | ) |
write a new block into the database
object | XoopsTplset $block reference to the tplsets to insert |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 176 of file tplset.php.