79 $ids = array_map(
'intval', $this->ids );
81 $queryBuilder = FileSelectQueryBuilder::newForArchivedFile( $db );
82 $queryBuilder->where( [
'fa_name' => $this->page->getDBkey(),
'fa_id' =>
$ids ] )
83 ->orderBy(
'fa_id', SelectQueryBuilder::SORT_DESC );
85 return $queryBuilder->caller( __METHOD__ )->fetchResultSet();
Prioritized list of file repositories.
List for filearchive table items.
static getRelationType()
Get the DB field name associated with the ID list.
__construct(IContextSource $context, PageIdentity $page, array $ids, LBFactory $lbFactory, HTMLCacheUpdater $htmlCacheUpdater, RepoGroup $repoGroup)
newItem( $row)
Create an item object from a DB result row.
getType()
Get the internal type name of this list.
List for oldimage table items.
Interface for objects which can provide a MediaWiki context on request.
Interface for objects (potentially) representing an editable wiki page.