PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Data Fields
Smarty_Internal_CompileBase Class Reference
Inheritance diagram for Smarty_Internal_CompileBase:
Smarty_Internal_Compile_Assign Smarty_Internal_Compile_Block Smarty_Internal_Compile_Blockclose Smarty_Internal_Compile_Break Smarty_Internal_Compile_Call Smarty_Internal_Compile_Capture Smarty_Internal_Compile_CaptureClose Smarty_Internal_Compile_Config_Load Smarty_Internal_Compile_Continue Smarty_Internal_Compile_Debug Smarty_Internal_Compile_Else Smarty_Internal_Compile_Elseif Smarty_Internal_Compile_Eval Smarty_Internal_Compile_Extends Smarty_Internal_Compile_For Smarty_Internal_Compile_Forclose Smarty_Internal_Compile_Foreach Smarty_Internal_Compile_Foreachclose Smarty_Internal_Compile_Foreachelse Smarty_Internal_Compile_Forelse Smarty_Internal_Compile_Function Smarty_Internal_Compile_Functionclose Smarty_Internal_Compile_If Smarty_Internal_Compile_Ifclose Smarty_Internal_Compile_Include Smarty_Internal_Compile_Include_Php Smarty_Internal_Compile_Insert Smarty_Internal_Compile_Ldelim Smarty_Internal_Compile_Nocache Smarty_Internal_Compile_Nocacheclose Smarty_Internal_Compile_Private_Block_Plugin Smarty_Internal_Compile_Private_Function_Plugin Smarty_Internal_Compile_Private_Modifier Smarty_Internal_Compile_Private_Object_Block_Function Smarty_Internal_Compile_Private_Object_Function Smarty_Internal_Compile_Private_Print_Expression Smarty_Internal_Compile_Private_Registered_Block Smarty_Internal_Compile_Private_Registered_Function Smarty_Internal_Compile_Private_Special_Variable Smarty_Internal_Compile_Rdelim Smarty_Internal_Compile_Section Smarty_Internal_Compile_Sectionclose Smarty_Internal_Compile_Sectionelse Smarty_Internal_Compile_Setfilter Smarty_Internal_Compile_Setfilterclose Smarty_Internal_Compile_While Smarty_Internal_Compile_Whileclose

Public Member Functions

 getAttributes ($compiler, $attributes)
 This function checks if the attributes passed are valid. More...
 
 openTag ($compiler, $openTag, $data=null)
 Push opening tag name on stack. More...
 
 closeTag ($compiler, $expectedTag)
 Pop closing tag. More...
 

Data Fields

 $required_attributes = array()
 
 $optional_attributes = array()
 
 $shorttag_order = array()
 
 $option_flags = array('nocache')
 

Detailed Description

Definition at line 16 of file smarty_internal_compilebase.php.

Member Function Documentation

closeTag (   $compiler,
  $expectedTag 
)

Pop closing tag.

Raise an error if this stack-top doesn't match with expected opening tags

Parameters
object$compilercompiler object
array | string$expectedTagthe expected opening tag names
Returns
mixed any type the opening tag's name or saved data

Definition at line 150 of file smarty_internal_compilebase.php.

getAttributes (   $compiler,
  $attributes 
)

This function checks if the attributes passed are valid.

The attributes passed for the tag to compile are checked against the list of required and optional attributes. Required attributes must be present. Optional attributes are check against the corresponding list. The keyword '_any' specifies that any attribute will be accepted as valid

Parameters
object$compilercompiler object
array$attributesattributes applied to the tag
Returns
array of mapped attributes for further processing

Definition at line 56 of file smarty_internal_compilebase.php.

openTag (   $compiler,
  $openTag,
  $data = null 
)

Push opening tag name on stack.

Optionally additional data can be saved on stack

Parameters
object$compilercompiler object
string$openTagthe opening tag's name
mixed$dataoptional data saved

Definition at line 136 of file smarty_internal_compilebase.php.

Field Documentation

$option_flags = array('nocache')

Definition at line 42 of file smarty_internal_compilebase.php.

$optional_attributes = array()

Definition at line 30 of file smarty_internal_compilebase.php.

$required_attributes = array()

Definition at line 23 of file smarty_internal_compilebase.php.

$shorttag_order = array()

Definition at line 36 of file smarty_internal_compilebase.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.