68 $ids = array_map(
'intval', $this->ids );
70 $queryBuilder = FileSelectQueryBuilder::newForArchivedFile( $db );
71 $queryBuilder->where( [
'fa_name' => $this->page->getDBkey(),
'fa_id' =>
$ids ] )
72 ->orderBy(
'fa_id', SelectQueryBuilder::SORT_DESC );
74 return $queryBuilder->caller( __METHOD__ )->fetchResultSet();
List for filearchive table items.
static getRelationType()
Get the DB field name associated with the ID list.This used to populate the log_search table for find...
__construct(IContextSource $context, PageIdentity $page, array $ids, LBFactory $lbFactory, HTMLCacheUpdater $htmlCacheUpdater, RepoGroup $repoGroup)
newItem( $row)
Create an item object from a DB result row.RevisionItemBase
getType()
Get the internal type name of this list.Equal to the table name. Override this function....
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.