Smarty_Template_Resource_Base
Smarty Template Resource Base Object
- Full name:
\Smarty_Template_Resource_Base
- This class is an Abstract class
Properties
filepath
Compiled Filepath
timestamp
Compiled Timestamp
exists
Compiled Existence
compile_id
Template Compile Id (Smarty_Internal_Template::$compile_id)
processed
Compiled Content Loaded
unifunc
unique function name for compiled template code
has_nocache_code
flag if template does contain nocache code sections
file_dependency
resource file dependency
content
Content buffer
includes
Included sub templates - index name - value use count
isCache
Flag if this is a cache resource
Methods
process
Process resource
- This method is abstract.
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | template object |
getRenderedTemplateCode
get rendered template content by calling compiled or cached template code
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | |
$unifunc |
string | function with template code |
Throws:
getTimeStamp
Get compiled time stamp
Automatically generated on 2025-03-18