Definition at line 14 of file ConfirmDetails.php.
Paperyard\Controllers\Archive\ConfirmDetails::__construct |
( |
Twig |
$view, |
|
|
LoggerInterface |
$logger, |
|
|
Messages |
$flash |
|
) |
| |
- Parameters
-
Twig | $view | |
LoggerInterface | $logger | |
Messages | $flash | |
Definition at line 27 of file ConfirmDetails.php.
registerPlugin($name, $type=PluginType::NORMAL)
Paperyard\Controllers\Archive\ConfirmDetails::__invoke |
( |
Request |
$request, |
|
|
Response |
$response, |
|
|
|
$args |
|
) |
| |
Definition at line 38 of file ConfirmDetails.php.
41 $this->documentFullPath = base64_decode($request->getAttribute(
'path'));
44 if (!file_exists($this->documentFullPath)) {
45 $this->flash->addMessage(
'error', _(
'Document not found.'));
46 return $response->withRedirect(
'/latest');
50 $this->view->render($response,
'archive/confirm_details.twig', $this->
render());
Paperyard\Controllers\Archive\ConfirmDetails::render |
( |
| ) |
|
Definition at line 54 of file ConfirmDetails.php.
57 'plugins' => parent::getPlugins(),
58 'document' =>
new Document($this->documentFullPath)
Paperyard\Controllers\Archive\ConfirmDetails::$documentFullPath |
|
private |
Paperyard\Controllers\Archive\ConfirmDetails::$rootPath = '/data/sort/' |
|
private |
The documentation for this class was generated from the following file: