Integrated evaluation notice for apps
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / acp / page / AdListPage.class.php
CommitLineData
e866b80e 1<?php
308c880f 2declare(strict_types=1);
e866b80e 3namespace wcf\acp\page;
157054c9 4use wcf\data\ad\AdList;
e866b80e
MS
5use wcf\page\MultipleLinkPage;
6
7/**
8 * Lists the available ads.
9 *
10 * @author Matthias Schmidt
c839bd49 11 * @copyright 2001-2018 WoltLab GmbH
e866b80e 12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
e71525e4 13 * @package WoltLabSuite\Core\Acp\Page
fe4f149a
MS
14 *
15 * @property AdList $objectList
e866b80e
MS
16 */
17class AdListPage extends MultipleLinkPage {
18 /**
0fcfe5f6 19 * @inheritDoc
e866b80e
MS
20 */
21 public $activeMenuItem = 'wcf.acp.menu.link.ad.list';
22
23 /**
0fcfe5f6 24 * @inheritDoc
e866b80e 25 */
058cbd6a 26 public $neededPermissions = ['admin.ad.canManageAd'];
e866b80e 27
b46211f7 28 /**
0fcfe5f6 29 * @inheritDoc
b46211f7 30 */
058cbd6a 31 public $neededModules = ['MODULE_WCF_AD'];
b46211f7 32
e866b80e 33 /**
0fcfe5f6 34 * @inheritDoc
e866b80e 35 */
157054c9 36 public $objectListClassName = AdList::class;
6464233b
MW
37
38 /**
0fcfe5f6 39 * @inheritDoc
6464233b
MW
40 */
41 public $sqlOrderBy = 'ad.showOrder';
e866b80e 42}