PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Static Public Member Functions | Data Fields
Smarty_Internal_Compile_Block Class Reference
Inheritance diagram for Smarty_Internal_Compile_Block:

Public Member Functions

 compile ($args, $compiler)
 Compiles code for the {block} tag. More...
- Public Member Functions inherited from Smarty_Internal_CompileBase
 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...

Static Public Member Functions

static saveBlockData ($block_content, $block_tag, $template, $filepath)
 Save or replace child block source by block name during parsing. More...
static compileChildBlock ($compiler, $_name=null)
 Compile saved child block source. More...

Data Fields

 $required_attributes = array('name')
 $shorttag_order = array('name', 'hide')
 $optional_attributes = array('hide')
- Data Fields inherited from Smarty_Internal_CompileBase
 $required_attributes = array()
 $optional_attributes = array()
 $shorttag_order = array()
 $option_flags = array('nocache')

Detailed Description

Definition at line 19 of file smarty_internal_compile_block.php.

Member Function Documentation

compile (   $args,

Compiles code for the {block} tag.

array$argsarray with attributes from parser
object$compilercompiler object
boolean true

Definition at line 52 of file smarty_internal_compile_block.php.

static compileChildBlock (   $compiler,
  $_name = null 

Compile saved child block source.

object$compilercompiler object
string$_nameoptional name of child block
string compiled code of schild block

Definition at line 160 of file smarty_internal_compile_block.php.

static saveBlockData (   $block_content,

Save or replace child block source by block name during parsing.

string$block_contentblock source content
string$block_tagopening block tag
object$templatetemplate object
string$filepathfilepath of template source

Definition at line 78 of file smarty_internal_compile_block.php.

Field Documentation

$optional_attributes = array('hide')

Definition at line 43 of file smarty_internal_compile_block.php.

$required_attributes = array('name')

Definition at line 27 of file smarty_internal_compile_block.php.

$shorttag_order = array('name', 'hide')

Definition at line 35 of file smarty_internal_compile_block.php.

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

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