Smarty_Template_Config
Smarty Config Resource Data Object Meta Data Container for Template Files
- Full name:
\Smarty_Template_Config
- Parent class:
\Smarty_Template_Source
Properties
config_sections
array of section names, single section or null
scope
scope into which the config variables shall be loaded
isConfig
Flag that source is a config file
compiler_class
Name of the Class to compile this resource's contents with
template_lexer_class
Name of the Class to tokenize this resource's contents with
template_parser_class
Name of the Class to parse this resource's contents with
Methods
load
initialize Source Object for given resource Either [$_template] or [$smarty, $template_resource] must be specified
public static load(\Smarty_Internal_Template $_template = null, \Smarty $smarty = null, string $template_resource = null): \Smarty_Template_Config
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | template object |
$smarty |
\Smarty | smarty object |
$template_resource |
string | resource identifier |
Return Value:
Source Object
Throws:
Inherited methods
load
initialize Source Object for given resource Either [$_template] or [$smarty, $template_resource] must be specified
public static load(\Smarty_Internal_Template $_template = null, \Smarty $smarty = null, string $template_resource = null): \Smarty_Template_Source
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | template object |
$smarty |
\Smarty | smarty object |
$template_resource |
string | resource identifier |
Return Value:
Source Object
Throws:
getTimeStamp
Get source time stamp
getContent
Get source content
Throws:
Automatically generated on 2025-03-18