Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / acp / page / BBCodeListPage.class.php
1 <?php
2
3 namespace wcf\acp\page;
4
5 use wcf\data\bbcode\BBCodeList;
6 use wcf\page\SortablePage;
7
8 /**
9 * Lists the available BBCodes.
10 *
11 * @author Tim Duesterhus
12 * @copyright 2001-2019 WoltLab GmbH
13 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
14 * @package WoltLabSuite\Core\Acp\Page
15 *
16 * @property BBCodeList $objectList
17 */
18 class BBCodeListPage extends SortablePage
19 {
20 /**
21 * @inheritDoc
22 */
23 public $activeMenuItem = 'wcf.acp.menu.link.bbcode.list';
24
25 /**
26 * @inheritDoc
27 */
28 public $defaultSortField = 'bbcodeTag';
29
30 /**
31 * @inheritDoc
32 */
33 public $neededPermissions = ['admin.content.bbcode.canManageBBCode'];
34
35 /**
36 * @inheritDoc
37 */
38 public $objectListClassName = BBCodeList::class;
39
40 /**
41 * @inheritDoc
42 */
43 public $templateName = 'bbcodeList';
44
45 /**
46 * @inheritDoc
47 */
48 public $validSortFields = ['bbcodeID', 'bbcodeTag', 'className'];
49 }