Class NLatteCompiler
Latte compiler.
- NObject
- NLatteCompiler
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
array
|
|
public
string
|
|
public
integer
|
|
public
|
|
public
|
#
writeMacro( string $name, string $args = NULL, string $modifiers = NULL, boolean $isRightmost = FALSE,
Generates code for {macro ...} to the output. |
public
|
#
writeAttrsMacro( string $code,
Generates code for macro <tag n:attr> to the output. |
public
|
#
expandMacro( string $name, string $args, string $modifiers = NULL,
Expands macro and returns node & code. |
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
string |
CONTENT_HTML
|
'html' |
#
Context-aware escaping content types |
string |
CONTENT_XHTML
|
'xhtml' |
#
Context-aware escaping content types |
string |
CONTENT_XML
|
'xml' |
#
Context-aware escaping content types |
string |
CONTENT_JS
|
'js' |
#
Context-aware escaping content types |
string |
CONTENT_CSS
|
'css' |
#
Context-aware escaping content types |
string |
CONTENT_ICAL
|
'ical' |
#
Context-aware escaping content types |
string |
CONTENT_TEXT
|
'text' |
#
Context-aware escaping content types |
string |
CONTEXT_COMMENT
|
'comment' |
|
string |
CONTEXT_SINGLE_QUOTED
|
"'" |
|
string |
CONTEXT_DOUBLE_QUOTED
|
'"' |
public
string
|
$defaultContentType |
|
#
default content type |
$reflection
|