\Smarty_Template_Resource_Base

Smarty Template Resource Base Object

Summary

Methods
Properties
Constants
process()
getRenderedTemplateCode()
getTimeStamp()
$filepath
$timestamp
$exists
$compile_id
$processed
$unifunc
$has_nocache_code
$file_dependency
$content
$required_plugins
$includes
$isCache
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$filepath

$filepath : string

Compiled Filepath

Type

string

$timestamp

$timestamp : integer|boolean

Compiled Timestamp

Type

integer|boolean

$exists

$exists : boolean

Compiled Existence

Type

boolean

$compile_id

$compile_id : string

Template Compile Id (Smarty_Internal_Template::$compile_id)

Type

string

$processed

$processed : boolean

Compiled Content Loaded

Type

boolean

$unifunc

$unifunc : string

unique function name for compiled template code

Type

string

$has_nocache_code

$has_nocache_code : boolean

flag if template does contain nocache code sections

Type

boolean

$file_dependency

$file_dependency : array

resource file dependency

Type

array

$content

$content : string

Content buffer

Type

string

$required_plugins

$required_plugins : array

required plugins

Type

array

$includes

$includes : array

Included subtemplates

Type

array

$isCache

$isCache : boolean

Flag if this is a cache resource

Type

boolean

Methods

process()

process(\Smarty_Internal_Template  $_template) 

Process resource

Parameters

\Smarty_Internal_Template $_template

template object

getRenderedTemplateCode()

getRenderedTemplateCode(\Smarty_Internal_Template  $_template, string  $unifunc = null) 

get rendered template content by calling compiled or cached template code

Parameters

\Smarty_Internal_Template $_template
string $unifunc

function with template code

Throws

\Exception

getTimeStamp()

getTimeStamp() : integer

Get compiled time stamp

Returns

integer