| extends | XoopsObjectHandler | 
|---|
XOOPS template file handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS template file class objects.
| Methods | ||||||
|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | create(bool $isNew = true): XoopsTplfile
		create a new XoopsTplfile
	 create a new XoopsTplfile Parameters
 Returnsreference to the new XoopsTplfile Overrides | # | ||||
| 
					
	public
					
					
				 | get(int $id, bool $getsource = false): XoopsTplfile|false
		retrieve a specific {@link XoopsTplfile}
	 retrieve a specific {@link XoopsTplfile} Parameters
 Returnsreference to the Tplfile Overrides | # | ||||
| 
					
	public
					
					
				 | loadSource(XoopsObject|XoopsTplfile $tplfile): bool
		Load template source
	 Load template source Parameters
 Returnstrue on success, otherwise false | # | ||||
| 
					
	public
					
					
				 | insert(XoopsObject|XoopsTplfile $tplfile): bool
		write a new Tplfile into the database
	 write a new Tplfile into the database Parameters
 Returnstrue on success, otherwise false Overrides | # | ||||
| 
					
	public
					
					
				 | forceUpdate(XoopsTplfile $tplfile): bool
		Update XoopsTplfile, even if a safe transaction (i.e. http get)
	 Update XoopsTplfile, even if a safe transaction (i.e. http get) Returnstrue on success, otherwise false | # | ||||
| 
					
	public
					
					
				 | delete(XoopsObject|XoopsTplfile $tplfile): bool
		delete a block from the database
	 delete a block from the database Parameters
 Returnstrue on success, otherwise false Overrides | # | ||||
| 
					
	public
					
					
				 | getObjects(CriteriaElement|CriteriaCompo $criteria = null, bool $getsource = false, bool $id_as_key = false): array
		retrieve array of {@link XoopsBlock}s meeting certain conditions
	 retrieve array of {@link XoopsBlock}s meeting certain conditions Parameters
 Returns{@link XoopsBlock}s matching the conditions | # | ||||
| 
					
	public
					
					
				 | getCount(CriteriaElement|CriteriaCompo $criteria = null): int
		Get count
	 Get count | # | ||||
| 
					
	public
					
					
				 | getModuleTplCount(string $tplset): array
		getModuleTplCount
	 getModuleTplCount | # | ||||
| 
					
	public
					
					
				 | find(
	string|null $tplset = null,
	string|array|null $type = null,
	string|null $refid = null,
	string|null $module = null,
	string|null $file = null,
	bool|string $getsource = false,
): array
		Find Template File
	 Find Template File | # | ||||
| 
					
	public
					
					
				 | templateExists(string $tplname, string $tplset_name): bool
		Template Exists
	 Template Exists Returnstrue if template exists, otherwise false | # | ||||
| Methods inherited from XoopsObjectHandler | 
|---|
| __construct(), XoopsObjectHandler(),  | 
| Properties inherited from XoopsObjectHandler | 
|---|
| $db |