W3cubDocs

/Symfony 4.1

ActionsHelper

class ActionsHelper extends Helper

ActionsHelper manages action inclusions.

Properties

protected $charset from Helper

Methods

setCharset(string $charset)

Sets the default charset.

from Helper
string getCharset()

Gets the default charset.

from Helper
__construct(FragmentHandler $handler)
string render(string $uri, array $options = array())

Returns the fragment content for a given URI.

controller($controller, $attributes = array(), $query = array())
string getName()

Returns the canonical name of this helper.

Details

setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

string getCharset()

Gets the default charset.

Return Value

string The default charset

__construct(FragmentHandler $handler)

Parameters

FragmentHandler $handler

string render(string $uri, array $options = array())

Returns the fragment content for a given URI.

Parameters

string $uri A URI
array $options An array of options

Return Value

string The fragment content

See also

FragmentHandler::render

controller($controller, $attributes = array(), $query = array())

Parameters

$controller
$attributes
$query

string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.html