mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-24 22:00:09 +00:00
42 lines
966 B
PHP
42 lines
966 B
PHP
<?php
|
|
namespace wcf\acp\page;
|
|
|
|
/**
|
|
* Lists available chatrooms.
|
|
*
|
|
* @author Tim Düsterhus
|
|
* @copyright 2010-2013 Tim Düsterhus
|
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
|
* @package be.bastelstu.chat
|
|
* @subpackage acp.page
|
|
*/
|
|
class RoomListPage extends \wcf\page\MultipleLinkPage {
|
|
/**
|
|
* @see \wcf\page\AbstractPage::$activeMenuItem
|
|
*/
|
|
public $activeMenuItem = 'chat.acp.menu.link.room.list';
|
|
|
|
/**
|
|
* @see \wcf\page\AbstractPage::$neededPermissions
|
|
*/
|
|
public $neededPermissions = array(
|
|
'admin.chat.canEditRoom',
|
|
'admin.chat.canDeleteRoom'
|
|
);
|
|
|
|
/**
|
|
* @see \wcf\page\MultipleLinkPage::$objectListClassName
|
|
*/
|
|
public $objectListClassName = '\chat\data\room\RoomList';
|
|
|
|
/**
|
|
* @see \wcf\page\MultipleLinkPage::$sortField
|
|
*/
|
|
public $sortField = 'position';
|
|
|
|
/**
|
|
* @see \wcf\page\MultipleLinkPage::$sortOrder
|
|
*/
|
|
public $sortOrder = 'ASC';
|
|
}
|