Symfony2 API
Class

Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper

class ActionsHelper extends Helper

ActionsHelper manages action inclusions.

Methods

setCharset(string $charset)

Sets the default charset.

from Helper
string getCharset()

Gets the default charset.

from Helper
__construct(FragmentHandler $handler)

Constructor.

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

in Helper at line 35
public setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

in Helper at line 47
public string getCharset()

Gets the default charset.

Return Value

string The default charset

at line 32
public __construct(FragmentHandler $handler)

Constructor.

Parameters

FragmentHandler $handler A FragmentHandler instance

at line 47
public 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

Symfony\Component\HttpKernel\Fragment\FragmentHandler::render()

at line 55
public controller($controller, $attributes = array(), $query = array())

Parameters

$controller
$attributes
$query

at line 65
public string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name