1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-01 14:20:07 +00:00
Tims-Chat/file/lib/data/chat/room/ChatRoomEditor.class.php
Tim Düsterhus 2f937df323 2011 -> 2012
2012-01-28 17:50:33 +01:00

27 lines
737 B
PHP

<?php
namespace wcf\data\chat\room;
/**
* Provides functions to edit chat rooms.
*
* @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 ChatRoomEditor extends \wcf\data\DatabaseObjectEditor implements \wcf\data\IEditableCachedObject {
/**
* @see wcf\data\DatabaseObjectDecorator::$baseClass
*/
protected static $baseClass = '\wcf\data\chat\room\ChatRoom';
/**
* Clears the room cache.
*/
public static function resetCache() {
self::getCache();
CacheHandler::getInstance()->clearResource('chatrooms');
}
}