mirror of
https://github.com/openvk/openvk
synced 2025-02-02 13:05:37 +03:00
20 lines
450 B
PHP
20 lines
450 B
PHP
|
<?php declare(strict_types=1);
|
||
|
namespace openvk\Web\Presenters;
|
||
|
use openvk\Web\Models\Repositories\Documents;
|
||
|
|
||
|
final class DocumentsPresenter extends OpenVKPresenter
|
||
|
{
|
||
|
protected $presenterName = "documents";
|
||
|
protected $silent = true;
|
||
|
|
||
|
function renderList(?int $gid = NULL): void
|
||
|
{
|
||
|
$this->template->_template = "Documents/List.xml";
|
||
|
}
|
||
|
|
||
|
function renderListGroup(?int $gid)
|
||
|
{
|
||
|
$this->renderList($gid);
|
||
|
}
|
||
|
}
|