class RouterHelper extends Helper
RouterHelper manages links between pages in a template context.
Methods
|
setCharset(string $charset)
Sets the default charset. |
from Helper | |
| string |
getCharset()
Gets the default charset. |
from Helper |
|
__construct(UrlGeneratorInterface $router)
Constructor. |
||
| string |
generate(string $name, mixed $parameters = array(), Boolean|string $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH)
Generates a URL from the given parameters. |
|
| string |
getName()
Returns the canonical name of this helper. |
Details
in Helper at line 35
public
setCharset(string $charset)
Sets the default charset.
in Helper at line 47
public string
getCharset()
Gets the default charset.
at line 31
public
__construct(UrlGeneratorInterface $router)
Constructor.
at line 47
public string
generate(string $name, mixed $parameters = array(), Boolean|string $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH)
Generates a URL from the given parameters.
at line 57
public string
getName()
Returns the canonical name of this helper.