Methods summary
public
|
|
public
Latte\Engine
|
|
public
|
#
render( $file = NULL, array $params = array() )
Renders template to output.
Renders template to output.
Implementation of
|
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
|
|
public
Nette\Bridges\ApplicationLatte\Template
|
|
public
|
|
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
|
#
getFile( )
Returns
string string
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
mixed
|
#
__call( string $name, array $args )
Deprecated
Parameters
- $name
- name
- $args
- arguments
Returns
mixed mixed
Throws
MemberAccessException MemberAccessException
Overrides
|
public
|
#
__set( string $name, mixed $value )
Sets a template parameter. Do not call directly.
Sets a template parameter. Do not call directly.
Parameters
Throws
MemberAccessException if the property is not defined or is read-only
Overrides
|
public
mixed
&
|
#
__get( string $name )
Returns a template parameter. Do not call directly.
Returns a template parameter. Do not call directly.
Parameters
Returns
mixed value
Throws
MemberAccessException if the property is not defined.
Overrides
|
public
boolean
|
#
__isset( string $name )
Determines whether parameter is defined. Do not call directly.
Determines whether parameter is defined. Do not call directly.
Parameters
Returns
boolean bool
Overrides
|
public
|
#
__unset( string $name )
Removes a template parameter. Do not call directly.
Removes a template parameter. Do not call directly.
Parameters
Throws
MemberAccessException MemberAccessException
Overrides
|