Свойство | Type | Description | |
---|---|---|---|
$global | global accumulators for intermediate results |
Свойство | Type | Description | |
---|---|---|---|
$blockQueue | |||
$blockTypes | |||
$blocks | [name => method] @internal | ||
$contentType | string | @internal | |
$filters | |||
$params | array | @internal | |
$parentName | string | null | FALSE | @internal |
Méthode | Description | |
---|---|---|
__call ( $name, $args ) | ||
__construct ( |
||
__get ( $name ) | ||
__isset ( $name ) | ||
__set ( $name, $value ) | ||
__unset ( $name ) | ||
capture ( callable $function ) : string | Captures output to string. | |
getContentType ( ) : string | ||
getEngine ( ) : |
||
getName ( ) : string | ||
getParameter ( $name ) : mixed | Returns parameter. | |
getParameters ( ) : array | Returns array of all parameters. | |
getParentName ( ) : string | null | ||
getReferenceType ( ) : string | null | ||
getReferringTemplate ( ) : |
||
prepare ( ) : void | ||
render ( ) : void | Renders template. | |
setParameters ( array $params ) |
Méthode | Description | |
---|---|---|
checkBlockContentType ( $current, $name ) : void | ||
createTemplate ( $name, array $params, $referenceType ) : |
Renders template. | |
renderBlock ( $name, array $params, $mod = NULL ) : void | Renders block. | |
renderBlockParent ( $name, array $params ) : void | Renders parent block. | |
renderToContentType ( $mod ) : void |
public __construct ( |
||
$engine | ||
$params | array | |
$filters | ||
$providers | array |
protected checkBlockContentType ( $current, $name ) : void | ||
Résultat | void |
protected createTemplate ( $name, array $params, $referenceType ) : |
||
$params | array | |
Résultat |
public getParameter ( $name ) : mixed | ||
Résultat | mixed |
public getParameters ( ) : array | ||
Résultat | array |
public getReferenceType ( ) : string | null | ||
Résultat | string | null |
public getReferringTemplate ( ) : |
||
Résultat |
protected renderBlock ( $name, array $params, $mod = NULL ) : void | ||
$params | array | |
Résultat | void |
protected renderBlockParent ( $name, array $params ) : void | ||
$params | array | |
Résultat | void |
protected FilterExecutor,Latte\Runtime $filters | ||
Résultat |