Class Smarty_Template_Config
Smarty Config Resource Data Object Meta Data Container for Template Files
- Smarty_Template_Source
- Smarty_Template_Config
Package: Smarty\TemplateResources
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_template_config.php
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_template_config.php
Methods summary
public static
|
#
load(
initialize Source Object for given resource Either [$_template] or [$smarty, $template_resource] must be specified |
Methods inherited from Smarty_Template_Source
Properties summary
public
null|string|array
|
$config_sections
array of section names, single section or null |
#
null
|
public
integer
|
$scope
scope into which the config variables shall be loaded |
#
0
|
public
boolean
|
$isConfig
Flag that source is a config file |
#
true
|
public
string
|
$compiler_class
Name of the Class to compile this resource's contents with |
#
'Smarty_Internal_Config_File_Compiler'
|
public
string
|
$template_lexer_class
Name of the Class to tokenize this resource's contents with |
#
'Smarty_Internal_Configfilelexer'
|
public
string
|
$template_parser_class
Name of the Class to parse this resource's contents with |
#
'Smarty_Internal_Configfileparser'
|
Properties inherited from Smarty_Template_Source
$basename
,
$components
,
$content
,
$exists
,
$filepath
,
$handler
,
$name
,
$resource
,
$smarty
,
$timestamp
,
$type
,
$uid