|
| compile ($args, $compiler) |
| Compiles code for the {block} tag. More...
|
|
| 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 | 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...
|
|
compile |
( |
|
$args, |
|
|
|
$compiler |
|
) |
| |
Compiles code for the {block} tag.
- Parameters
-
array | $args | array with attributes from parser |
object | $compiler | compiler object |
- Returns
- boolean true
Definition at line 52 of file smarty_internal_compile_block.php.
static compileChildBlock |
( |
|
$compiler, |
|
|
|
$_name = null |
|
) |
| |
|
static |
Compile saved child block source.
- Parameters
-
object | $compiler | compiler object |
string | $_name | optional name of child block |
- Returns
- string compiled code of schild block
Definition at line 160 of file smarty_internal_compile_block.php.
static saveBlockData |
( |
|
$block_content, |
|
|
|
$block_tag, |
|
|
|
$template, |
|
|
|
$filepath |
|
) |
| |
|
static |
Save or replace child block source by block name during parsing.
- Parameters
-
string | $block_content | block source content |
string | $block_tag | opening block tag |
object | $template | template object |
string | $filepath | filepath of template source |
Definition at line 78 of file smarty_internal_compile_block.php.
$optional_attributes = array('hide') |
$required_attributes = array('name') |
$shorttag_order = array('name', 'hide') |
The documentation for this class was generated from the following file: