Class Smarty_Internal_SmartyTemplateCompiler
Class SmartyTemplateCompiler
- Smarty_Internal_TemplateCompilerBase
- Smarty_Internal_SmartyTemplateCompiler
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php
Methods summary
public
|
|
protected
boolean
|
#
doCompile( mixed $_content, boolean $isTemplateSource = false )
method to compile a Smarty template |
public
|
#
registerPostCompileCallback( callable $callback, array $parameter = array(), string $key = null, boolean $replace = false )
Register a post compile callback - when the callback is called after template compiling the compiler object will be inserted as first parameter |
public
|
Methods inherited from Smarty_Internal_TemplateCompilerBase
appendCode()
,
appendPrefixCode()
,
callTagCompiler()
,
compileConfigVariable()
,
compileTag()
,
compileTemplate()
,
compileTemplateSource()
,
compileVariable()
,
convertScope()
,
getId()
,
getNewPrefixVariable()
,
getPlugin()
,
getPluginFromDefaultHandler()
,
getPrefixCode()
,
getPrefixVariable()
,
getVarExport()
,
getVariableName()
,
isVariable()
,
makeNocacheCode()
,
postFilter()
,
preFilter()
,
processNocacheCode()
,
processText()
,
setNocacheInVariable()
,
trigger_template_error()
Magic methods inherited from Smarty_Internal_TemplateCompilerBase
registerPostCompileCallback()
,
unregisterPostCompileCallback()
Properties summary
public
string
|
$lexer_class
Lexer class name |
|
public
string
|
$parser_class
Parser class name |
|
public
array
|
$local_var
array of vars which can be compiled in local scope |
#
array()
|
public
array
|
$postCompileCallbacks
array of callbacks called when the normal compile process of template is finished |
#
array()
|
public
string
|
$prefixCompiledCode
prefix code |
#
''
|
public
string
|
$postfixCompiledCode
postfix code |
#
''
|
Properties inherited from Smarty_Internal_TemplateCompilerBase
$_cache
,
$_tag_objects
,
$_tag_stack
,
$blockOrFunctionCode
,
$called_functions
,
$default_handler_plugins
,
$default_modifier_list
,
$forceNocache
,
$has_code
,
$has_output
,
$has_variable_string
,
$known_modifier_type
,
$loopNesting
,
$mergedSubTemplatesCode
,
$mergedSubTemplatesData
,
$modifier_plugins
,
$nocache
,
$nocache_hash
,
$parent_compiler
,
$parser
,
$php_handling
,
$plugin_search_order
,
$prefixCodeStack
,
$prefixVariableNumber
,
$prefix_code
,
$smarty
,
$stripRegEx
,
$suppressNocacheProcessing
,
$tag_nocache
,
$template
,
$templateProperties
,
$tpl_function
,
$trace_filepath
,
$trace_line_offset
,
$trace_stack
,
$trace_uid
,
$variable_filter_stack
,
$variable_filters
,
$write_compiled_code