Class Smarty_Internal_CompileBase

Description

This class does extend all internal compile plugins

  • abstract:

Located in /libs/sysplugins/smarty_internal_compilebase.php (line 16)


	
			
Direct descendents
Class Description
Smarty_Internal_Compile_Assign Smarty Internal Plugin Compile Assign Class
Smarty_Internal_Compile_Block Smarty Internal Plugin Compile Block Class
Smarty_Internal_Compile_Blockclose Smarty Internal Plugin Compile BlockClose Class
Smarty_Internal_Compile_Break Smarty Internal Plugin Compile Break Class
Smarty_Internal_Compile_Call Smarty Internal Plugin Compile Function_Call Class
Smarty_Internal_Compile_Capture Smarty Internal Plugin Compile Capture Class
Smarty_Internal_Compile_CaptureClose Smarty Internal Plugin Compile Captureclose Class
Smarty_Internal_Compile_Config_Load Smarty Internal Plugin Compile Config Load Class
Smarty_Internal_Compile_Continue Smarty Internal Plugin Compile Continue Class
Smarty_Internal_Compile_Debug Smarty Internal Plugin Compile Debug Class
Smarty_Internal_Compile_Eval Smarty Internal Plugin Compile Eval Class
Smarty_Internal_Compile_Extends Smarty Internal Plugin Compile extend Class
Smarty_Internal_Compile_For Smarty Internal Plugin Compile For Class
Smarty_Internal_Compile_Forelse Smarty Internal Plugin Compile Forelse Class
Smarty_Internal_Compile_Forclose Smarty Internal Plugin Compile Forclose Class
Smarty_Internal_Compile_Foreach Smarty Internal Plugin Compile Foreach Class
Smarty_Internal_Compile_Foreachelse Smarty Internal Plugin Compile Foreachelse Class
Smarty_Internal_Compile_Foreachclose Smarty Internal Plugin Compile Foreachclose Class
Smarty_Internal_Compile_Function Smarty Internal Plugin Compile Function Class
Smarty_Internal_Compile_Functionclose Smarty Internal Plugin Compile Functionclose Class
Smarty_Internal_Compile_If Smarty Internal Plugin Compile If Class
Smarty_Internal_Compile_Else Smarty Internal Plugin Compile Else Class
Smarty_Internal_Compile_Elseif Smarty Internal Plugin Compile ElseIf Class
Smarty_Internal_Compile_Ifclose Smarty Internal Plugin Compile Ifclose Class
Smarty_Internal_Compile_Include Smarty Internal Plugin Compile Include Class
Smarty_Internal_Compile_Include_Php Smarty Internal Plugin Compile Insert Class
Smarty_Internal_Compile_Insert Smarty Internal Plugin Compile Insert Class
Smarty_Internal_Compile_Ldelim Smarty Internal Plugin Compile Ldelim Class
Smarty_Internal_Compile_Nocache Smarty Internal Plugin Compile Nocache Classv
Smarty_Internal_Compile_Nocacheclose Smarty Internal Plugin Compile Nocacheclose Class
Smarty_Internal_Compile_Private_Block_Plugin Smarty Internal Plugin Compile Block Plugin Class
Smarty_Internal_Compile_Private_Function_Plugin Smarty Internal Plugin Compile Function Plugin Class
Smarty_Internal_Compile_Private_Modifier Smarty Internal Plugin Compile Modifier Class
Smarty_Internal_Compile_Private_Object_Block_Function Smarty Internal Plugin Compile Object Block Function Class
Smarty_Internal_Compile_Private_Object_Function Smarty Internal Plugin Compile Object Function Class
Smarty_Internal_Compile_Private_Print_Expression Smarty Internal Plugin Compile Print Expression Class
Smarty_Internal_Compile_Private_Registered_Block Smarty Internal Plugin Compile Registered Block Class
Smarty_Internal_Compile_Private_Registered_Function Smarty Internal Plugin Compile Registered Function Class
Smarty_Internal_Compile_Private_Special_Variable Smarty Internal Plugin Compile special Smarty Variable Class
Smarty_Internal_Compile_Rdelim Smarty Internal Plugin Compile Rdelim Class
Smarty_Internal_Compile_Section Smarty Internal Plugin Compile Section Class
Smarty_Internal_Compile_Sectionelse Smarty Internal Plugin Compile Sectionelse Class
Smarty_Internal_Compile_Sectionclose Smarty Internal Plugin Compile Sectionclose Class
Smarty_Internal_Compile_Setfilter Smarty Internal Plugin Compile Setfilter Class
Smarty_Internal_Compile_Setfilterclose Smarty Internal Plugin Compile Setfilterclose Class
Smarty_Internal_Compile_While Smarty Internal Plugin Compile While Class
Smarty_Internal_Compile_Whileclose Smarty Internal Plugin Compile Whileclose Class
Variable Summary
Method Summary
mixed closeTag (object $compiler, array|string $expectedTag)
array getAttributes (object $compiler, array $attributes)
void openTag (object $compiler, string $openTag, [mixed $data = null])
Variables
array $optional_attributes = array() (line 30)

Array of names of optional attribute required by tag use array('_any') if there is no restriction of attributes names

  • access: public

Redefined in descendants as:
array $option_flags = array('nocache') (line 42)

Array of names of valid option flags

  • access: public

Redefined in descendants as:
array $required_attributes = array() (line 23)

Array of names of required attribute required by tag

  • access: public

Redefined in descendants as:
array $shorttag_order = array() (line 36)

Shorttag attribute order defined by its names

  • access: public

Redefined in descendants as:
Methods
closeTag (line 150)

Pop closing tag

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

  • return: any type the opening tag's name or saved data
  • access: public
mixed closeTag (object $compiler, array|string $expectedTag)
  • object $compiler: compiler object
  • array|string $expectedTag: the expected opening tag names
getAttributes (line 56)

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

  • return: of mapped attributes for further processing
  • access: public
array getAttributes (object $compiler, array $attributes)
  • object $compiler: compiler object
  • array $attributes: attributes applied to the tag
openTag (line 136)

Push opening tag name on stack

Optionally additional data can be saved on stack

  • access: public
void openTag (object $compiler, string $openTag, [mixed $data = null])
  • object $compiler: compiler object
  • string $openTag: the opening tag's name
  • mixed $data: optional data saved

Documentation generated on Sat, 24 Sep 2011 20:23:37 +0200 by phpDocumentor 1.4.1