MediaWiki REL1_34
ApiQueryPageImagesProxyMock.php
Go to the documentation of this file.
1<?php
2
4
5use ApiPageSet;
7
9
11 public function __construct( ApiPageSet $pageSet ) {
12 $this->pageSet = $pageSet;
13 }
14
16 public function getPageSet() {
17 return $this->pageSet;
18 }
19
21 public function getTitles() {
22 return parent::getTitles();
23 }
24
26 public static function getPropNames( $license ) {
27 return parent::getPropNames( $license );
28 }
29}
This class contains a list of pages that the client has requested.
Expose image information for a page via a new prop=pageimages API.
static getPropNames( $license)
Get property names used in page_props table.If the license is free, then only the free property name ...
getPageSet()
Get the PageSet object to work on.ApiPageSet
getTitles()
Gets the set of titles to get page images for.Note well that the set of titles comprises the set of "...