Definition at line 14 of file Confirm.php.
Paperyard\Controllers\Archive\Confirm::__construct |
( |
Twig |
$view, |
|
|
LoggerInterface |
$logger, |
|
|
Messages |
$flash |
|
) |
| |
- Parameters
-
Twig | $view | |
LoggerInterface | $logger | |
Messages | $flash | |
Definition at line 21 of file Confirm.php.
registerPlugin($name, $type=PluginType::NORMAL)
Paperyard\Controllers\Archive\Confirm::__invoke |
( |
Request |
$request, |
|
|
Response |
$response, |
|
|
|
$args |
|
) |
| |
Definition at line 31 of file Confirm.php.
33 $this->view->render($response,
'archive/confirm.twig', $this->
render());
Paperyard\Controllers\Archive\Confirm::getDocumentsFromPattern |
( |
|
$pattern | ) |
|
|
private |
Definition at line 56 of file Confirm.php.
59 $pdfs = glob($pattern, GLOB_NOSORT);
62 array_walk(
$pdfs,
function (&$pdf) {
63 $pdf = (new \Paperyard\Models\Document($pdf))->toArray();
66 return array_filter(
$pdfs,
function ($pdf) {
67 return !$pdf[
'isConfirmed'];
Paperyard\Controllers\Archive\Confirm::getInboxFiles |
( |
| ) |
|
|
private |
Definition at line 51 of file Confirm.php.
getDocumentsFromPattern($pattern)
Paperyard\Controllers\Archive\Confirm::getOutboxFile |
( |
| ) |
|
|
private |
Definition at line 46 of file Confirm.php.
getDocumentsFromPattern($pattern)
Paperyard\Controllers\Archive\Confirm::render |
( |
| ) |
|
Definition at line 37 of file Confirm.php.
40 'plugins' => parent::getPlugins(),
The documentation for this class was generated from the following file:
- paperyard/paperyard/frontend/controllers/archive/Confirm.php