Esempio n. 1
0
	/**
	 * @see	wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
	 */
	public function rebuild(array $parameters) {
		$spiderList = new SpiderList();
		$spiderList->sqlOrderBy = "spider.spiderID ASC";
		$spiderList->readObjects();
		
		return $spiderList->getObjects();
	}
 /**
  * @see wcf\system\cache\ICacheBuilder::getData()
  */
 public function getData(array $cacheResource)
 {
     $spiderList = new SpiderList();
     $spiderList->sqlOrderBy = "spider.spiderID ASC";
     $spiderList->sqlLimit = 0;
     $spiderList->readObjects();
     return $spiderList->getObjects();
 }