Merge pull request #952 from Gravatronics/bug/clipboardTypeData
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / user / group / option / UserGroupOptionEditor.class.php
1 <?php
2 namespace wcf\data\user\group\option;
3 use wcf\data\DatabaseObjectEditor;
4 use wcf\data\IEditableCachedObject;
5 use wcf\system\cache\CacheHandler;
6
7 /**
8 * Provides functions to edit usergroup options.
9 *
10 * @author Alexander Ebert
11 * @copyright 2001-2012 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package com.woltlab.wcf
14 * @subpackage data.user.group.option
15 * @category Community Framework
16 */
17 class UserGroupOptionEditor extends DatabaseObjectEditor implements IEditableCachedObject {
18 /**
19 * @see wcf\data\DatabaseObjectDecorator::$baseClass
20 */
21 protected static $baseClass = 'wcf\data\user\group\option\UserGroupOption';
22
23 /**
24 * @see wcf\data\IEditableCachedObject::resetCache()
25 */
26 public static function resetCache() {
27 CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.userGroup*.php');
28 }
29 }