WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\ZObjectPage Class Reference

Public Member Functions

 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 Public Member Functions

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.
 

Member Function Documentation

◆ 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
ZError$errors
Returns
ZObjectPage
+ Here is the caller graph for this function:

◆ newSuccess()

static MediaWiki\Extension\WikiLambda\ZObjectPage::newSuccess ( $page)
static

Create an instance of a successful ZObjectPage wrapping a WikiPage object.

Parameters
WikiPage$page
Returns
ZObjectPage
+ Here is the caller graph for this function:

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