|
| __construct ( $baseUrl, OutputPage $out, $skinName, $revId=null, $provideTagline=false) |
|
| getHTML () |
| @inheritDoc
|
|
◆ __construct()
MobileFrontend\ContentProviders\MwApiContentProvider::__construct |
( |
|
$baseUrl, |
|
|
OutputPage |
$out, |
|
|
|
$skinName, |
|
|
|
$revId = null , |
|
|
|
$provideTagline = false |
|
) |
| |
- Parameters
-
string | $baseUrl | for the MediaWiki API to be used minus query string e.g. /w/api.php |
OutputPage | $out | so that the ResourceLoader modules specific to the page can be added |
string | $skinName | the skin name the content is being provided for |
int | null | $revId | optional |
bool | $provideTagline | optional |
◆ fileGetContents()
MobileFrontend\ContentProviders\MwApiContentProvider::fileGetContents |
( |
|
$url | ) |
|
|
protected |
- Parameters
-
string | $url | URL to fetch the content |
- Returns
- string
◆ getHTML()
MobileFrontend\ContentProviders\MwApiContentProvider::getHTML |
( |
| ) |
|
The documentation for this class was generated from the following file:
- includes/ContentProviders/MwApiContentProvider.php