예제 #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();
	}
예제 #2
0
 /**
  * @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();
 }