| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Albums\One\Admin\Album; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Album::class, |
|
| 27 | '/admin/albums/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Albums list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'albums-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Appearance\One\Admin\Theme; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Theme::class, |
|
| 27 | '/admin/appearance/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Themes list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'appearance-themes-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-36 (lines=27) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Articles\Category\One\Admin\Category; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Category::class, |
|
| 27 | '/admin/articles\\categories/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Category list'); |
|
| 31 | ||
| 32 | $this->head->setTitle($this->pageTitle); |
|
| 33 | ||
| 34 | $this->template = 'categories-list'; |
|
| 35 | } |
|
| 36 | } |
|
| 37 | ||
| @@ 10-36 (lines=27) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Articles\One\Admin\Article; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Article::class, |
|
| 27 | '/admin/articles/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Articles list'); |
|
| 31 | ||
| 32 | $this->head->setTitle($this->pageTitle); |
|
| 33 | ||
| 34 | $this->template = 'articles-list'; |
|
| 35 | } |
|
| 36 | } |
|
| 37 | ||
| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Galleries\One\Admin\Gallery; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Gallery::class, |
|
| 27 | '/admin/galleries/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Galleries list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'galleries-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Modules\One\Admin\Module; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Module::class, |
|
| 27 | '/admin/modules/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Modules list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'modules-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-36 (lines=27) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Pages\One\Admin\Page; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Page::class, |
|
| 27 | '/admin/pages/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Pages list'); |
|
| 31 | ||
| 32 | $this->head->setTitle($this->pageTitle); |
|
| 33 | ||
| 34 | $this->template = 'pages-list'; |
|
| 35 | } |
|
| 36 | } |
|
| 37 | ||
| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Plugins\One\Admin\Plugin; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Plugin::class, |
|
| 27 | '/admin/plugins/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Plugins list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'modules-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-35 (lines=26) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Tools\Admin\One\Tool; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | Tool::class, |
|
| 27 | '/admin/plugins/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Tools list'); |
|
| 31 | $this->head->setTitle($this->pageTitle); |
|
| 32 | ||
| 33 | $this->template = 'tools-list'; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| @@ 10-36 (lines=27) @@ | ||
| 7 | use Rudolf\Framework\View\AdminView; |
|
| 8 | use Rudolf\Modules\Users\One\Admin\User; |
|
| 9 | ||
| 10 | class View extends AdminView |
|
| 11 | { |
|
| 12 | /** |
|
| 13 | * @var Loop |
|
| 14 | */ |
|
| 15 | protected $loop; |
|
| 16 | ||
| 17 | /** |
|
| 18 | * @param array $data |
|
| 19 | * @param Pagination $pagination |
|
| 20 | */ |
|
| 21 | public function setData(array $data, Pagination $pagination) |
|
| 22 | { |
|
| 23 | $this->loop = new Loop( |
|
| 24 | $data, |
|
| 25 | $pagination, |
|
| 26 | User::class, |
|
| 27 | '/admin/users/list' |
|
| 28 | ); |
|
| 29 | ||
| 30 | $this->pageTitle = _('Users list'); |
|
| 31 | ||
| 32 | $this->head->setTitle($this->pageTitle); |
|
| 33 | ||
| 34 | $this->template = 'users-list'; |
|
| 35 | } |
|
| 36 | } |
|
| 37 | ||