XOOPS template file handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS template file class objects.
- Author
- Kazumi Ono onoka.nosp@m.zu@x.nosp@m.oops..nosp@m.org
- Todo:
- this is not a XoopsPersistableObjectHandler?
◆ create()
◆ delete()
delete a block from the database
- Parameters
-
- Returns
- bool true on success, otherwise false
Reimplemented from XoopsObjectHandler.
◆ find()
find |
( |
|
$tplset = null , |
|
|
|
$type = null , |
|
|
|
$refid = null , |
|
|
|
$module = null , |
|
|
|
$file = null , |
|
|
|
$getsource = false |
|
) |
| |
Find Template File
- Parameters
-
string | $tplset | |
string | array | $type | |
string | $refid | |
string | $module | |
string | $file | |
bool | string | $getsource | |
- Returns
- object
◆ forceUpdate()
Update Tplfile, even if a safe transaction (i.e. http get)
- Parameters
-
- Returns
- bool true on success, otherwise false
◆ get()
get |
( |
|
$id, |
|
|
|
$getsource = false |
|
) |
| |
◆ getCount()
Get count
- Parameters
-
- Returns
- int
◆ getModuleTplCount()
getModuleTplCount |
( |
|
$tplset | ) |
|
getModuleTplCount
- Parameters
-
- Returns
- array
◆ getObjects()
getObjects |
( |
CriteriaElement |
$criteria = null , |
|
|
|
$getsource = false , |
|
|
|
$id_as_key = false |
|
) |
| |
retrieve array of XoopsBlock
s meeting certain conditions
- Parameters
-
- Returns
- array
XoopsBlock
s matching the conditions
◆ insert()
write a new Tplfile into the database
- Parameters
-
- Returns
- bool true on success, otherwise false
Reimplemented from XoopsObjectHandler.
◆ loadSource()
Load template source
- Parameters
-
- Returns
- bool true on success, otherwise false
◆ templateExists()
templateExists |
( |
|
$tplname, |
|
|
|
$tplset_name |
|
) |
| |
Template Exists
- Parameters
-
string | $tplname | |
string | $tplset_name | |
- Returns
- bool true if template exists, otherwise false
The documentation for this class was generated from the following file: