Свойство | Тип | Описание | |
---|---|---|---|
$input | array | The consolidated input data from the request. | |
$request | The request being handled. | ||
$server | FluxBB\Server\ServerInterface | The server instance. | |
$session | Illuminate\Session\Store | The session instance. | |
$url | FluxBB\Web\UrlGeneratorInterface | The URL generator instance. | |
$view | FluxBB\View\ViewInterface | The view instance. |
Метод | Описание | |
---|---|---|
call ( string $action ) : |
Call the given action on this controller. | |
setRequest ( |
Set the request being handled. | |
setServer ( FluxBB\Server\ServerInterface $server ) : void | Set the server to use. | |
setSession ( Illuminate\Session\Store $session ) : void | Set the session driver to use. | |
setUrlGenerator ( FluxBB\Web\UrlGeneratorInterface $url ) : void | Set the URL generator instance. | |
setView ( FluxBB\View\ViewInterface $view ) : void | Set the view environment to use. |
Метод | Описание | |
---|---|---|
execute ( string $action, array $parameters = [] ) : array | Let the FluxBB server execute the given action and return its response data. | |
getInput ( string $key ) : string | Get the value of the input parameter with the given name. | |
makeRedirect ( string $url ) : |
Instantiate a redirect response. | |
redirectTo ( string $route, array $parameters = [] ) : |
Create a redirect response. | |
setInput ( string $key, string $value ) : void | Explicitly set an input parameter to the given value. | |
view ( string $name, array $data = [] ) : |
Render the given view. |
protected makeRedirect ( string $url ) : |
||
$url | string | |
Результат |
protected redirectTo ( string $route, array $parameters = [] ) : |
||
$route | string | |
$parameters | array | |
Результат |
public setRequest ( |
||
$request | ||
Результат | void |
public setSession ( Illuminate\Session\Store $session ) : void | ||
$session | Illuminate\Session\Store | |
Результат | void |
public setUrlGenerator ( FluxBB\Web\UrlGeneratorInterface $url ) : void | ||
$url | FluxBB\Web\UrlGeneratorInterface | |
Результат | void |
protected array $input | ||
Результат | array |
protected Request,Symfony\Component\HttpFoundation $request | ||
Результат |
protected ServerInterface,FluxBB\Server $server | ||
Результат | FluxBB\Server\ServerInterface |
protected Store,Illuminate\Session $session | ||
Результат | Illuminate\Session\Store |
protected UrlGeneratorInterface,FluxBB\Web $url | ||
Результат | FluxBB\Web\UrlGeneratorInterface |