Commit | Line | Data |
---|---|---|
dcc2332d MW |
1 | <?php |
2 | namespace wcf\data\smiley; | |
3 | use wcf\data\DatabaseObjectEditor; | |
4 | use wcf\data\IEditableCachedObject; | |
5 | use wcf\system\cache\builder\SmileyCacheBuilder; | |
6 | ||
7 | /** | |
8 | * Provides functions to edit smilies. | |
9 | * | |
10 | * @author Alexander Ebert | |
ca4ba303 | 11 | * @copyright 2001-2014 WoltLab GmbH |
dcc2332d | 12 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
f4f05aa5 | 13 | * @package com.woltlab.wcf |
dcc2332d MW |
14 | * @subpackage data.smiley |
15 | * @category Community Framework | |
16 | */ | |
17 | class SmileyEditor extends DatabaseObjectEditor implements IEditableCachedObject { | |
18 | /** | |
0ad90fc3 | 19 | * @see \wcf\data\DatabaseObjectDecorator::$baseClass |
dcc2332d MW |
20 | */ |
21 | public static $baseClass = 'wcf\data\smiley\Smiley'; | |
22 | ||
23 | /** | |
0ad90fc3 | 24 | * @see \wcf\data\IEditableCachedObject::resetCache() |
dcc2332d MW |
25 | */ |
26 | public static function resetCache() { | |
27 | SmileyCacheBuilder::getInstance()->reset(); | |
28 | } | |
29 | } |