Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ParamProcessor\MediaWikiTitleValue Class Reference
Inheritance diagram for ParamProcessor\MediaWikiTitleValue:
Inheritance graph
[legend]
Collaboration diagram for ParamProcessor\MediaWikiTitleValue:
Collaboration graph
[legend]

Public Member Functions

 __construct (Title $title)
 
 serialize ()
 
 unserialize ( $value)
 
 getSortKey ()
 
 getValue ()
 

Static Public Member Functions

static getType ()
 
static newFromArray ( $data)
 

Protected Attributes

 $title
 

Detailed Description

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

ParamProcessor\MediaWikiTitleValue::__construct ( Title  $title)
Since
0.1
Parameters
Title$title
Exceptions
InvalidArgumentException

Member Function Documentation

◆ getSortKey()

ParamProcessor\MediaWikiTitleValue::getSortKey ( )
See also
DataValue::getSortKey
Since
0.1
Returns
string|float|int

◆ getType()

static ParamProcessor\MediaWikiTitleValue::getType ( )
static
See also
DataValue::getType
Since
0.1
Returns
string

◆ getValue()

ParamProcessor\MediaWikiTitleValue::getValue ( )

Returns the Title object.

See also
DataValue::getValue
Since
0.1
Returns
Title

◆ newFromArray()

static ParamProcessor\MediaWikiTitleValue::newFromArray (   $data)
static

Constructs a new instance of the DataValue from the provided data. This can round-trip with

See also
getArrayValue
Since
0.1
Parameters
mixed$data
Returns
MediaWikiTitleValue

◆ serialize()

ParamProcessor\MediaWikiTitleValue::serialize ( )
See also
Serializable::serialize
Since
0.1
Returns
string

◆ unserialize()

ParamProcessor\MediaWikiTitleValue::unserialize (   $value)
See also
Serializable::unserialize
Since
0.1
Parameters
string$value
Returns
MediaWikiTitleValue

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

About | General disclaimer | Privacy policy