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

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)

Constructor.

Parameters

FragmentHandler $handler A FragmentHandler instance

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
doc_Symfony
2016-10-28 06:04:56
Comments
Leave a Comment

Please login to continue.