Template: ezcTemplateOutputContext
[ ]
[ EBNF ] [ Functions ] [ Syntax ]
[ ]
[ ]
[ ]
[ ]
Interface: ezcTemplateOutputContext
|
Controls output handling in the template engine. [
source]
The template engine will use the various methods in an output context object to control how the end result is.
The parser will use the cleanupWhitespace(), cleanupEol() and indent() methods.
The compiler will use the transformOutput() method when generating PHP structures for output.
Method Summary
|
public void |
cleanupEol(
)
|
|
public void |
cleanupWhitespace(
)
|
|
public void |
identifier(
)
Returns the unique identifier for the context handler. This is used to uniquely identify the handler, e.g. it is included in the path of compiled files. |
|
public void |
indent(
)
|
|
public void |
transformOutput(
$node )
Transforms an expressions so it can be displayed in the current output context correctly. |
Methods
cleanupEol
void cleanupEol(
)
cleanupWhitespace
void cleanupWhitespace(
)
identifier
void identifier(
)
Returns the unique identifier for the context handler. This is used to uniquely identify the handler, e.g. it is included in the path of compiled files.
indent
void indent(
)
transformOutput
void transformOutput(
$node )
Transforms an expressions so it can be displayed in the current output context correctly.
Parameters
| Name |
Type |
Description |
$node |
ezcTemplateAstNode |
|
Last updated: Thu, 01 Nov 2007