XOOPS 2.5.6
Final
|
Public Member Functions | |
& | create ($isNew=true) |
delete (&$tplfile) | |
find ($tplset=null, $type=null, $refid=null, $module=null, $file=null, $getsource=false) | |
forceUpdate (&$tplfile) | |
& | get ($id, $getsource=false) |
getCount ($criteria=null) | |
getModuleTplCount ($tplset) | |
getObjects ($criteria=null, $getsource=false, $id_as_key=false) | |
insert (&$tplfile) | |
loadSource (&$tplfile) | |
templateExists ($tplname, $tplset_name) | |
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 template file handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS template file class objects.
Definition at line 170 of file tplfile.php.
& XoopsTplfileHandler::create | ( | $isNew = true | ) |
create a new Tplfile
bool | $isNew | is the new Tplfile new?? |
Definition at line 179 of file tplfile.php.
XoopsTplfileHandler::delete | ( | & | $tplfile | ) |
delete a block from the database
object | XoopsBlock $block reference to the block to delete |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 344 of file tplfile.php.
XoopsTplfileHandler::find | ( | $tplset = null , |
|
$type = null , |
|||
$refid = null , |
|||
$module = null , |
|||
$file = null , |
|||
$getsource = false |
|||
) |
Find Template File
string | $tplset | |
string | $type | |
string | $refid | |
string | $module | |
string | $file | |
string | $getsource |
Definition at line 451 of file tplfile.php.
References $criteria, $criteria2, $file, $module, $type, and getObjects().
XoopsTplfileHandler::forceUpdate | ( | & | $tplfile | ) |
Enter description here...
unknown_type | $tplfile |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 304 of file tplfile.php.
& XoopsTplfileHandler::get | ( | $id, | |
$getsource = false |
|||
) |
retrieve a specific XoopsTplfile
int | $id | tpl_id of the block to retrieve |
Definition at line 195 of file tplfile.php.
XoopsTplfileHandler::getCount | ( | $criteria = null | ) |
Get count
array | $criteria |
Definition at line 405 of file tplfile.php.
References $criteria, $result, and $sql.
Referenced by templateExists().
XoopsTplfileHandler::getModuleTplCount | ( | $tplset | ) |
retrieve array of XoopsBlocks meeting certain conditions
object | $criteria | CriteriaElement with conditions for the blocks |
bool | $id_as_key | should the blocks' bid be the key for the returned array? |
Definition at line 368 of file tplfile.php.
References $criteria, $limit, $result, $ret, $sql, and $start.
Referenced by find().
XoopsTplfileHandler::insert | ( | & | $tplfile | ) |
write a new Tplfile into the database
object | XoopsTplfile $block reference to the Tplfile to insert |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 249 of file tplfile.php.
XoopsTplfileHandler::loadSource | ( | & | $tplfile | ) |
Enter description here...
unknown_type | $tplfile |
: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Definition at line 223 of file tplfile.php.
XoopsTplfileHandler::templateExists | ( | $tplname, | |
$tplset_name | |||
) |
Template Exists
string | $tplname | |
string | $tplset_name |
Definition at line 487 of file tplfile.php.
References $criteria, and getCount().