PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Public Member Functions | |
__construct () | |
Initialize compiler. More... | |
compileTemplate (Smarty_Internal_Template $template) | |
Method to compile a Smarty template. More... | |
compileTag ($tag, $args, $parameter=array()) | |
Compile Tag. More... | |
callTagCompiler ($tag, $args, $param1=null, $param2=null, $param3=null) | |
lazy loads internal compile plugin for tag and calls the compile methode More... | |
getPlugin ($plugin_name, $plugin_type) | |
Check for plugins and return function name. More... | |
getPluginFromDefaultHandler ($tag, $plugin_type) | |
Check for plugins by default plugin handler. More... | |
processNocacheCode ($content, $is_code) | |
Inject inline code for nocache template sections. More... | |
trigger_template_error ($args=null, $line=null) | |
display compiler error messages without dying More... | |
Data Fields | |
$suppressNocacheProcessing = false | |
$suppressMergedTemplates = false | |
$_tag_stack = array() | |
$template = null | |
$merged_templates = array() | |
$inheritance = false | |
$default_handler_plugins = array() | |
$default_modifier_list = null | |
$forceNocache = false | |
$suppressHeader = false | |
$suppressTemplatePropertyHeader = false | |
$suppressFilter = false | |
$write_compiled_code = true | |
$compiles_template_function = false | |
$called_functions = array() | |
$modifier_plugins = array() | |
$known_modifier_type = array() | |
Static Public Attributes | |
static | $_tag_objects = array() |
Protected Member Functions | |
doCompile ($_content) | |
Methode to compile a Smarty template. More... | |
Definition at line 19 of file smarty_internal_templatecompilerbase.php.
__construct | ( | ) |
Initialize compiler.
Definition at line 156 of file smarty_internal_templatecompilerbase.php.
callTagCompiler | ( | $tag, | |
$args, | |||
$param1 = null , |
|||
$param2 = null , |
|||
$param3 = null |
|||
) |
lazy loads internal compile plugin for tag and calls the compile methode
compile objects cached for reuse. class name format: Smarty_Internal_Compile_TagName plugin filename format: Smarty_Internal_Tagname.php
string | $tag | tag name |
array | $args | list of tag attributes |
mixed | $param1 | optional parameter |
mixed | $param2 | optional parameter |
mixed | $param3 | optional parameter |
Definition at line 471 of file smarty_internal_templatecompilerbase.php.
compileTag | ( | $tag, | |
$args, | |||
$parameter = array() |
|||
) |
Compile Tag.
This is a call back from the lexer/parser It executes the required compile plugin for the Smarty tag
string | $tag | tag name |
array | $args | array with tag attributes |
array | $parameter | array with compilation parameter |
Definition at line 244 of file smarty_internal_templatecompilerbase.php.
compileTemplate | ( | Smarty_Internal_Template | $template | ) |
Method to compile a Smarty template.
Smarty_Internal_Template | $template | template object to compile |
Definition at line 166 of file smarty_internal_templatecompilerbase.php.
|
abstractprotected |
Methode to compile a Smarty template.
mixed | $_content | template source |
getPlugin | ( | $plugin_name, | |
$plugin_type | |||
) |
Check for plugins and return function name.
string | $pugin_name | name of plugin or function |
string | $plugin_type | type of plugin |
Definition at line 499 of file smarty_internal_templatecompilerbase.php.
getPluginFromDefaultHandler | ( | $tag, | |
$plugin_type | |||
) |
Check for plugins by default plugin handler.
string | $tag | name of tag |
string | $plugin_type | type of plugin |
Definition at line 553 of file smarty_internal_templatecompilerbase.php.
processNocacheCode | ( | $content, | |
$is_code | |||
) |
Inject inline code for nocache template sections.
This method gets the content of each template element from the parser. If the content is compiled code and it should be not cached the code is injected into the rendered output.
string | $content | content of template element |
boolean | $is_code | true if content is compiled code |
Definition at line 600 of file smarty_internal_templatecompilerbase.php.
trigger_template_error | ( | $args = null , |
|
$line = null |
|||
) |
display compiler error messages without dying
If parameter $args is empty it is a parser detected syntax error. In this case the parser is called to obtain information about expected tokens.
If parameter $args contains a string this is used as error message
string | $args | individual error message or null |
string | $line | line-number |
SmartyCompilerException | when an unexpected token is found |
Definition at line 640 of file smarty_internal_templatecompilerbase.php.
|
static |
Definition at line 47 of file smarty_internal_templatecompilerbase.php.
$_tag_stack = array() |
Definition at line 54 of file smarty_internal_templatecompilerbase.php.
$called_functions = array() |
Definition at line 131 of file smarty_internal_templatecompilerbase.php.
$compiles_template_function = false |
Definition at line 125 of file smarty_internal_templatecompilerbase.php.
$default_handler_plugins = array() |
Definition at line 82 of file smarty_internal_templatecompilerbase.php.
$default_modifier_list = null |
Definition at line 89 of file smarty_internal_templatecompilerbase.php.
$forceNocache = false |
Definition at line 95 of file smarty_internal_templatecompilerbase.php.
$inheritance = false |
Definition at line 75 of file smarty_internal_templatecompilerbase.php.
$known_modifier_type = array() |
Definition at line 143 of file smarty_internal_templatecompilerbase.php.
$merged_templates = array() |
Definition at line 68 of file smarty_internal_templatecompilerbase.php.
$modifier_plugins = array() |
Definition at line 137 of file smarty_internal_templatecompilerbase.php.
$suppressFilter = false |
Definition at line 113 of file smarty_internal_templatecompilerbase.php.
$suppressHeader = false |
Definition at line 101 of file smarty_internal_templatecompilerbase.php.
$suppressMergedTemplates = false |
Definition at line 40 of file smarty_internal_templatecompilerbase.php.
$suppressNocacheProcessing = false |
Definition at line 33 of file smarty_internal_templatecompilerbase.php.
$suppressTemplatePropertyHeader = false |
Definition at line 107 of file smarty_internal_templatecompilerbase.php.
$template = null |
Definition at line 61 of file smarty_internal_templatecompilerbase.php.
$write_compiled_code = true |
Definition at line 119 of file smarty_internal_templatecompilerbase.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - is a product of SAS. All rights reserved.