Smarty Resource Data Object
Meta Data Container for Template Files
| package | Smarty |
|---|---|
| subpackage | TemplateResources |
| author | Rodney Rehm |
__construct(\Smarty_Resource $handler, \Smarty $smarty, string $resource, string $type, string $name, string $unique_resource)
stringfull template_resource
stringtype of resource
stringresource name
stringunqiue resource name
__get(string $property_name) : mixed
stringvalid: timestamp, exists, content
\SmartyException |
if $property_name is not valid |
|---|
mixed__set(string $property_name, mixed $value)
stringvalid: timestamp, exists, content, template
mixednew value (is not checked)
\SmartyException |
if $property_name is not valid |
|---|
getCompiled(\Smarty_Internal_Template $_template) : \Smarty_Template_Compiled
renderUncompiled(\Smarty_Internal_Template $_template)
$compiler_class : string
$components : array
$content : string
| magic | |
|---|---|
| property | Source Content |
$exists : boolean
| magic | |
|---|---|
| property | Source Existance |
$filepath : string
$handler : \Smarty_Resource
$name : string
$recompiled : boolean
$resource : string
$smarty : \Smarty
$template : boolean
| magic | |
|---|---|
| property | Extended Template reference |
$template_lexer_class : string
$template_parser_class : string
$type : string
$uid : string
$uncompiled : boolean
$unique_resource : string