/** * @see wcf\system\cache\ICacheBuilder::getData() */ public function getData(array $cacheResource) { $actionList = new ClipboardActionList(); $actionList->getConditionBuilder()->add("packageID IN (?)", array(PackageDependencyHandler::getInstance()->getDependencies())); $actionList->sqlLimit = 0; $actionList->readObjects(); return $actionList->getObjects(); }
/** * @see \wcf\system\cache\builder\AbstractCacheBuilder::rebuild() */ public function rebuild(array $parameters) { $actionList = new ClipboardActionList(); $actionList->readObjects(); return $actionList->getObjects(); }