Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ParamProcessor\MediaWikiTitleValue Class Reference
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

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

Member Function Documentation

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

Returns the Title object.

See also
DataValue::getValue
Since
0.1
Returns
Title
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
ParamProcessor\MediaWikiTitleValue::serialize ( )
See also
Serializable::serialize
Since
0.1
Returns
string
ParamProcessor\MediaWikiTitleValue::unserialize (   $value)
See also
Serializable::unserialize
Since
0.1
Parameters
string$value
Returns
MediaWikiTitleValue

Member Data Documentation

ParamProcessor\MediaWikiTitleValue::$title
protected

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