Property | Type | Description | |
---|---|---|---|
$global | global accumulators for intermediate results |
Property | Type | Description | |
---|---|---|---|
$blockQueue | |||
$blockTypes | |||
$blocks | [name => method] @internal | ||
$contentType | string | @internal | |
$filters | |||
$params | array | @internal | |
$parentName | string | null | FALSE | @internal |
Method | 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 ) |
Method | 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 | ||
return | void |
protected createTemplate ( $name, array $params, $referenceType ) : |
||
$params | array | |
return |
public getParameters ( ) : array | ||
return | array |
public getReferringTemplate ( ) : |
||
return |
protected renderBlock ( $name, array $params, $mod = NULL ) : void | ||
$params | array | |
return | void |
protected renderBlockParent ( $name, array $params ) : void | ||
$params | array | |
return | void |
protected FilterExecutor,Latte\Runtime $filters | ||
return |