Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Store\HttpUrlPropertyOrderProvider Class Reference

PropertyOrderProvider that retrieves the order from a http(s) URL. More...

+ Inheritance diagram for Wikibase\Lib\Store\HttpUrlPropertyOrderProvider:
+ Collaboration diagram for Wikibase\Lib\Store\HttpUrlPropertyOrderProvider:

Public Member Functions

 __construct ( $url, HttpRequestFactory $http, LoggerInterface $logger)
 
- Public Member Functions inherited from Wikibase\Lib\Store\WikiTextPropertyOrderProvider
 getPropertyOrder ()
 

Protected Member Functions

 getPropertyOrderWikitext ()
 Get the wikitext of the property order list. More...
 

Private Attributes

 $http
 
 $logger
 
 $url
 

Detailed Description

PropertyOrderProvider that retrieves the order from a http(s) URL.

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\HttpUrlPropertyOrderProvider::__construct (   $url,
HttpRequestFactory  $http,
LoggerInterface  $logger 
)
Parameters
string$url
HttpRequestFactory$http
LoggerInterface$logger

Member Function Documentation

◆ getPropertyOrderWikitext()

Wikibase\Lib\Store\HttpUrlPropertyOrderProvider::getPropertyOrderWikitext ( )
protected

Get the wikitext of the property order list.

Returns
string|null
Exceptions
PropertyOrderProviderException

Reimplemented from Wikibase\Lib\Store\WikiTextPropertyOrderProvider.

Member Data Documentation

◆ $http

Wikibase\Lib\Store\HttpUrlPropertyOrderProvider::$http
private

◆ $logger

Wikibase\Lib\Store\HttpUrlPropertyOrderProvider::$logger
private

◆ $url

Wikibase\Lib\Store\HttpUrlPropertyOrderProvider::$url
private

The documentation for this class was generated from the following file: