2012-02-04 20:06:44 +00:00
|
|
|
<?php
|
|
|
|
namespace wcf\data\chat\room;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Executes chatroom-related actions.
|
|
|
|
*
|
|
|
|
* @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 timwolla.wcf.chat
|
|
|
|
* @subpackage data.chat.room
|
|
|
|
*/
|
|
|
|
class ChatRoomAction extends \wcf\data\AbstractDatabaseObjectAction {
|
|
|
|
/**
|
2012-02-26 16:55:44 +00:00
|
|
|
* @see \wcf\data\AbstractDatabaseObjectAction::$className
|
2012-02-04 20:06:44 +00:00
|
|
|
*/
|
|
|
|
protected $className = '\wcf\data\chat\room\ChatRoomEditor';
|
|
|
|
|
|
|
|
/**
|
2012-02-26 16:55:44 +00:00
|
|
|
* @see \wcf\data\AbstractDatabaseObjectAction::$permissionsDelete
|
2012-02-04 20:06:44 +00:00
|
|
|
*/
|
|
|
|
protected $permissionsDelete = array('admin.content.chat.canDeleteRoom');
|
|
|
|
|
|
|
|
/**
|
2012-02-26 16:55:44 +00:00
|
|
|
* @see \wcf\data\AbstractDatabaseObjectAction::$permissionsUpdate
|
2012-02-04 20:06:44 +00:00
|
|
|
*/
|
|
|
|
protected $permissionsUpdate = array('admin.content.chat.canEditRoom');
|
|
|
|
}
|