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

Base class for PropertyOrderProviders, that parse the property order from a wikitext page. More...

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

Public Member Functions

 getPropertyOrder ()
 

Protected Member Functions

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

Private Member Functions

 parseList ( $pageContent)
 

Detailed Description

Base class for PropertyOrderProviders, that parse the property order from a wikitext page.

Author
Lucie-Aimée Kaffee
Marius Hoch

Member Function Documentation

◆ getPropertyOrder()

Wikibase\Lib\Store\WikiTextPropertyOrderProvider::getPropertyOrder ( )
See also
parent::getPropertyOrder()
Returns
null|int[] null if page doesn't exist
Exceptions
PropertyOrderProviderException

Implements Wikibase\Lib\Store\PropertyOrderProvider.

◆ getPropertyOrderWikitext()

Wikibase\Lib\Store\WikiTextPropertyOrderProvider::getPropertyOrderWikitext ( )
abstractprotected

Get the wikitext of the property order list.

Returns
string|null
Exceptions
PropertyOrderProviderException

Reimplemented in Wikibase\Lib\Store\WikiPagePropertyOrderProvider, and Wikibase\Lib\Store\HttpUrlPropertyOrderProvider.

◆ parseList()

Wikibase\Lib\Store\WikiTextPropertyOrderProvider::parseList (   $pageContent)
private
Parameters
string$pageContent
Returns
string[]

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