1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00
Tims-Chat/file/lib/acp/page/RoomListPage.class.php

42 lines
967 B
PHP
Raw Normal View History

2012-02-04 19:50:18 +00:00
<?php
2013-01-27 19:10:06 +00:00
namespace chat\acp\page;
2012-02-04 19:50:18 +00:00
/**
* Lists available chatrooms.
*
2012-02-04 20:06:44 +00:00
* @author Tim Düsterhus
2013-01-19 19:36:40 +00:00
* @copyright 2010-2013 Tim Düsterhus
2012-02-04 20:06:44 +00:00
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
2013-01-19 19:36:40 +00:00
* @package be.bastelstu.chat
2012-02-04 19:50:18 +00:00
* @subpackage acp.page
*/
2013-01-19 19:36:40 +00:00
class RoomListPage extends \wcf\page\MultipleLinkPage {
2013-01-07 19:34:18 +00:00
/**
* @see \wcf\page\AbstractPage::$activeMenuItem
*/
2013-01-19 19:36:40 +00:00
public $activeMenuItem = 'chat.acp.menu.link.room.list';
2013-01-07 19:34:18 +00:00
2012-02-04 19:50:18 +00:00
/**
* @see \wcf\page\AbstractPage::$neededPermissions
2012-02-04 19:50:18 +00:00
*/
public $neededPermissions = array(
2013-01-19 19:36:40 +00:00
'admin.chat.canEditRoom',
'admin.chat.canDeleteRoom'
2012-02-04 19:50:18 +00:00
);
/**
* @see \wcf\page\MultipleLinkPage::$objectListClassName
2012-02-04 19:50:18 +00:00
*/
2013-01-19 19:36:40 +00:00
public $objectListClassName = '\chat\data\room\RoomList';
2012-02-04 19:50:18 +00:00
/**
* @see \wcf\page\MultipleLinkPage::$sortField
2012-02-04 19:50:18 +00:00
*/
public $sortField = 'position';
/**
* @see \wcf\page\MultipleLinkPage::$sortOrder
2012-02-04 19:50:18 +00:00
*/
public $sortOrder = 'ASC';
}