Свойство | Тип | Описание | |
---|---|---|---|
$args | raw arguments | ||
$attrCode | string | ||
$closing | boolean | ||
$closingCode | string | ||
$content | string | ||
$context | [contentType, context] | ||
$data | user data | ||
$empty | boolean | ||
$endLine | position of end tag in source template | ||
$htmlNode | closest HTML node | ||
$innerContent | string | ||
$isEmpty | |||
$macro | latte\IMacro | ||
$modifiers | raw modifier | ||
$name | string | ||
$openingCode | string | ||
$parentNode | |||
$prefix | indicates n:attribute macro and type of prefix (PREFIX_INNER, PREFIX_TAG, PREFIX_NONE) | ||
$replaced | has output? | ||
$saved | |||
$startLine | position of start tag in source template | ||
$tokenizer |
Метод | Описание | |
---|---|---|
__construct ( latte\IMacro $macro, $name, $args = NULL, $modifiers = NULL, self $parentNode = NULL, |
||
getNotation ( ) | ||
setArgs ( $args ) |
public __construct ( latte\IMacro $macro, $name, $args = NULL, $modifiers = NULL, self $parentNode = NULL, |
||
$macro | latte\IMacro | |
$parentNode | self | |
$htmlNode |
public $prefix |