Methods summary
public
|
|
public
Latte\Engine
|
|
public
|
#
render( $file = null, array $params = [] )
Renders template to output.
Renders template to output.
Implementation of
|
public
string
|
#
renderToString( $file = null, array $params = [] )
Renders template to output.
Renders template to output.
Returns
string string
|
public
string
|
#
__toString( )
Renders template to string.
Renders template to string.
Returns
string string
|
public
Nette\Bridges\ApplicationLatte\Template
|
#
addFilter( string|null $name, callable $callback )
Registers run-time filter.
Registers run-time filter.
Parameters
Returns
|
public
|
|
public
Nette\Bridges\ApplicationLatte\Template
|
|
public
Nette\Bridges\ApplicationLatte\Template
|
#
setFile( string $file )
Sets the path to the template file.
Sets the path to the template file.
Parameters
Returns
Implementation of
|
public
string|null
|
#
getFile( )
Returns
string|null string|null
Implementation of
|
public
Nette\Bridges\ApplicationLatte\Template
|
#
add( $name, $value )
Adds new template parameter.
Adds new template parameter.
Returns
|
public
Nette\Bridges\ApplicationLatte\Template
|
#
setParameters( array $params )
Sets all parameters.
Parameters
Returns
|
public
array
|
#
getParameters( )
Returns array of all parameters.
Returns array of all parameters.
Returns
array array
|
public
|
|
public
|
#
__set( $name, $value )
Sets a template parameter. Do not call directly.
Sets a template parameter. Do not call directly.
|
public
mixed
&
|
#
__get( $name )
Returns a template parameter. Do not call directly.
Returns a template parameter. Do not call directly.
Returns
mixed value
|
public
boolean
|
#
__isset( $name )
Determines whether parameter is defined. Do not call directly.
Determines whether parameter is defined. Do not call directly.
Returns
boolean bool
|
public
|
#
__unset( string $name )
Removes a template parameter. Do not call directly.
Removes a template parameter. Do not call directly.
Parameters
|