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

47 lines
1.1 KiB
PHP
Raw Normal View History

2012-02-04 19:50:18 +00:00
<?php
namespace wcf\acp\page;
/**
* Lists available chatrooms.
*
2012-02-04 20:06:44 +00:00
* @author Tim Düsterhus
* @copyright 2010-2012 Tim Düsterhus
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
* @package be.bastelstu.wcf.chat
2012-02-04 19:50:18 +00:00
* @subpackage acp.page
*/
class ChatRoomListPage extends \wcf\page\MultipleLinkPage {
/**
* @see \wcf\page\AbstractPage::$neededPermissions
2012-02-04 19:50:18 +00:00
*/
public $neededPermissions = array(
'admin.content.chat.canEditRoom',
'admin.content.chat.canDeleteRoom'
);
/**
* @see \wcf\page\MultipleLinkPage::$objectListClassName
2012-02-04 19:50:18 +00:00
*/
public $objectListClassName = '\wcf\data\chat\room\ChatRoomList';
/**
* @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';
/**
* @see \wcf\page\IPage::show()
2012-02-04 19:50:18 +00:00
*/
public function show() {
// set active menu item.
2012-02-04 19:59:40 +00:00
\wcf\system\menu\acp\ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.chat.room.list');
2012-02-04 19:50:18 +00:00
parent::show();
}
}