Definition at line 12 of file Shell.php.
Paperyard\Controllers\Misc\Shell::__construct |
( |
Twig |
$view, |
|
|
LoggerInterface |
$logger, |
|
|
Messages |
$flash |
|
) |
| |
Definition at line 14 of file Shell.php.
registerPlugin($name, $type=PluginType::NORMAL)
Paperyard\Controllers\Misc\Shell::__invoke |
( |
Request |
$request, |
|
|
Response |
$response, |
|
|
|
$args |
|
) |
| |
Definition at line 23 of file Shell.php.
25 if ($request->isXhr()) {
27 return $response->withJson(\
Paperyard\Models\Log\Shell::where(
'id',
'>=', (
int)$request->getAttribute(
'since'))->orderBy(
'id',
'DESC')->take((
int)$request->getAttribute(
'count'))->
get());
30 $this->view->render($response,
'misc/shell.twig', $this->
render());
Paperyard\Controllers\Misc\Shell::render |
( |
| ) |
|
render
- Returns
- array data to render the view
Definition at line 38 of file Shell.php.
41 'plugins' => parent::getPlugins(),
42 'languageFlag' => parent::getLanguageFlag()
The documentation for this class was generated from the following file:
- paperyard/paperyard/frontend/controllers/misc/Shell.php