Sources content from the Mobile-Content-Service This requires allow_url_fopen to be set.
More...
Sources content from the Mobile-Content-Service This requires allow_url_fopen to be set.
- Since
◆ __construct()
MobileFrontend\ContentProviders\McsContentProvider::__construct |
( |
|
$baseUrl, |
|
|
OutputPage |
$out |
|
) |
| |
- Parameters
-
string | $baseUrl | for the MediaWiki API to be used minus query string e.g. /w/api.php |
OutputPage | $out | |
◆ buildHtmlFromResponse()
MobileFrontend\ContentProviders\McsContentProvider::buildHtmlFromResponse |
( |
array |
$json | ) |
|
|
protected |
◆ fileGetContents()
MobileFrontend\ContentProviders\McsContentProvider::fileGetContents |
( |
|
$url | ) |
|
|
protected |
- Parameters
-
string | $url | URL to fetch the content |
- Returns
- string
◆ getHTML()
MobileFrontend\ContentProviders\McsContentProvider::getHTML |
( |
| ) |
|
The documentation for this class was generated from the following file:
- includes/ContentProviders/McsContentProvider.php