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