Smarty Resource Data Object Meta Data Container for Template Files
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
static
|
load(
Smarty_Internal_Template $_template = null,
Smarty $smarty = null,
string $template_resource = null,
): Smarty_Template_Source
initialize Source Object for given resource
Either [$_template] or [$smarty, $template_resource] must be specified
initialize Source Object for given resource Either [$_template] or [$smarty, $template_resource] must be specified Parameters
ReturnsSource Object Throws
Overriden by |
# | ||||||||
public
|
getTimeStamp(): int
Get source time stamp
Get source time stamp |
# | ||||||||
public
|
getContent(): string
Get source content
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$uid = null
|
# |
public
|
string
|
$resource = null
|
# |
public
|
string
|
$type = null
|
# |
public
|
string
|
$name = null
|
# |
public
|
string
|
$filepath = null
|
# |
public
|
integer
|
$timestamp = null
|
# |
public
|
boolean
|
$exists = false
|
# |
public
|
string
|
$basename = null
|
# |
public
|
Smarty_Template_Source[]
|
$components = null
|
# |
public
|
Smarty_Resource
|
$handler = null
|
# |
public
|
Smarty
|
$smarty = null
|
# |
public
|
bool
|
$isConfig = false
|
# |
public
|
string
|
$content = null
|
# |
public
|
string
|
$compiler_class = 'Smarty_Internal_SmartyTemplateCompiler'
|
# |
public
|
string
|
$template_lexer_class = 'Smarty_Internal_Templatelexer'
|
# |
public
|
string
|
$template_parser_class = 'Smarty_Internal_Templateparser'
|
# |