|
| getWikiPage () |
| Get the WikiPage of this ZObjectPage.
|
|
| getErrors () |
| Get the errors of this ZObjectPage.
|
|
| isOK () |
| Get whether this ZObjectPage has a page set.
|
|
| getTitle () |
| Get the Title of this ZObjectPage if OK.
|
|
|
static | newSuccess ( $page) |
| Create an instance of a successful ZObjectPage wrapping a WikiPage object.
|
|
static | newFatal ( $errors) |
| Create an instance of a fatal ZObjectPage wrapping a ZError object.
|
|
◆ getErrors()
MediaWiki\Extension\WikiLambda\ZObjectPage::getErrors |
( |
| ) |
|
Get the errors of this ZObjectPage.
- Returns
- ZError|null
◆ getTitle()
MediaWiki\Extension\WikiLambda\ZObjectPage::getTitle |
( |
| ) |
|
Get the Title of this ZObjectPage if OK.
- Returns
- Title|null
◆ getWikiPage()
MediaWiki\Extension\WikiLambda\ZObjectPage::getWikiPage |
( |
| ) |
|
Get the WikiPage of this ZObjectPage.
- Returns
- WikiPage|null
◆ isOK()
MediaWiki\Extension\WikiLambda\ZObjectPage::isOK |
( |
| ) |
|
Get whether this ZObjectPage has a page set.
- Returns
- bool
◆ newFatal()
static MediaWiki\Extension\WikiLambda\ZObjectPage::newFatal |
( |
| $errors | ) |
|
|
static |
Create an instance of a fatal ZObjectPage wrapping a ZError object.
- Parameters
-
- Returns
- ZObjectPage
◆ newSuccess()
static MediaWiki\Extension\WikiLambda\ZObjectPage::newSuccess |
( |
| $page | ) |
|
|
static |
Create an instance of a successful ZObjectPage wrapping a WikiPage object.
- Parameters
-
- Returns
- ZObjectPage
The documentation for this class was generated from the following file: