BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
ParamProcessor\MediaWikiTitleValue Class Reference
Inheritance diagram for ParamProcessor\MediaWikiTitleValue:
Collaboration diagram for ParamProcessor\MediaWikiTitleValue:

Public Member Functions

 __construct (Title $title)
 
 serialize ()
 
 unserialize ($value)
 
 getSortKey ()
 
 getValue ()
 
- Public Member Functions inherited from DataValues\DataValueObject
 getHash ()
 
 equals ($value)
 
 getCopy ()
 
 getArrayValue ()
 
 toArray ()
 

Static Public Member Functions

static getType ()
 
static newFromArray ($data)
 

Protected Attributes

 $title
 

Additional Inherited Members

- Static Protected Member Functions inherited from DataValues\DataValueObject
static requireArrayFields ($data, array $fields)
 

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

Implements DataValues\DataValue.

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

Implements DataValues\DataValue.

ParamProcessor\MediaWikiTitleValue::getValue ( )

Returns the Title object.

See Also
DataValue::getValue
Since
0.1
Returns
Title

Implements DataValues\DataValue.

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

Implements Serializable.

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

Implements Serializable.


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