class help

Properties

protected helper $helper
protected dispatcher_interface $dispatcher
protected template $template
protected user $user
protected string $root_path
protected string $php_ext

Methods

__construct(helper $helper, dispatcher_interface $dispatcher, template $template, user $user, string $root_path, string $php_ext)

Constructor

Response
handle(string $mode)

Controller for /help/{mode} routes

null
assign_to_template(array $help_data)

Assigns the help data to the template blocks

Details

at line 48
__construct(helper $helper, dispatcher_interface $dispatcher, template $template, user $user, string $root_path, string $php_ext)

Constructor

Parameters

helper $helper
dispatcher_interface $dispatcher
template $template
user $user
string $root_path
string $php_ext

at line 65
Response handle(string $mode)

Controller for /help/{mode} routes

Parameters

string $mode

Return Value

Response

A Symfony Response object

Exceptions

http_exception

when the $mode is not known by any extension

at line 129
protected null assign_to_template(array $help_data)

Assigns the help data to the template blocks

Parameters

array $help_data

Return Value

null