* @param $table String
* @param $startId Integer or false
* @param $endId Integer or false
- * @return TitleArray
+ * @return TitleArrayFromResult
*/
public function getLinks( $table, $startId = false, $endId = false ) {
wfProfileIn( __METHOD__ );
$this->partitionCache[$table][$batchSize] = false;
$cacheEntry =& $this->partitionCache[$table][$batchSize];
-
// 2) try full result cache
if ( isset( $this->fullResultCache[$table] ) ) {
return $cacheEntry['batches'];
}
-
// 3) ... fallback to memcached ...
global $wgMemc;
/**
* Partition a DB result with backlinks in it into batches
- * @param $res database result
+ * @param $res ResultWrapper database result
* @param $batchSize integer
* @return array @see
*/