Major overhaul of caching system (work in progress)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / cache / builder / ClipboardActionCacheBuilder.class.php
1 <?php
2 namespace wcf\system\cache\builder;
3 use wcf\data\clipboard\action\ClipboardActionList;
4
5 /**
6 * Caches clipboard actions.
7 *
8 * @author Alexander Ebert
9 * @copyright 2001-2013 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package com.woltlab.wcf
12 * @subpackage system.cache.builder
13 * @category Community Framework
14 */
15 class ClipboardActionCacheBuilder extends AbstractCacheBuilder {
16 /**
17 * @see wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
18 */
19 public function rebuild(array $parameters) {
20 $actionList = new ClipboardActionList();
21 $actionList->readObjects();
22
23 return $actionList->getObjects();
24 }
25 }