Base class for ItemOrderProviders, that parse the item order from a wikitext page.
More...
Base class for ItemOrderProviders, that parse the item order from a wikitext page.
- Copyright
- GPL-2.0-or-later
- Author
- Noa Rave
◆ __construct()
Wikibase\Lib\Store\WikiPageItemOrderProvider::__construct |
( |
WikiPageFactory | $wikiPageFactory, |
|
|
Title | $pageTitle ) |
- Parameters
-
WikiPageFactory | $wikiPageFactory | |
Title | $pageTitle | page name the ordered item list is on |
◆ getItemOrder()
Wikibase\Lib\Store\WikiPageItemOrderProvider::getItemOrder |
( |
| ) |
|
◆ getItemOrderWikitext()
Wikibase\Lib\Store\WikiPageItemOrderProvider::getItemOrderWikitext |
( |
| ) |
|
|
protected |
Get Content of the wiki page.
- Returns
- string|null
- Exceptions
-
ItemOrderProviderException | |
◆ parseList()
Wikibase\Lib\Store\WikiPageItemOrderProvider::parseList |
( |
string | $pageContent | ) |
|
|
private |
- Parameters
-
- Returns
- string[]
◆ $pageTitle
Wikibase\Lib\Store\WikiPageItemOrderProvider::$pageTitle |
|
private |
◆ $wikiPageFactory
Wikibase\Lib\Store\WikiPageItemOrderProvider::$wikiPageFactory |
|
private |
The documentation for this class was generated from the following file: