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

Public Member Functions

 __construct ($value)
 
 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)
 

Additional Inherited Members

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

Detailed Description

Class representing a string value.

Since
0.1

GNU GPL v2+

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

Constructor & Destructor Documentation

DataValues\StringValue::__construct (   $value)
Parameters
string$value
Exceptions
IllegalValueException

Member Function Documentation

DataValues\StringValue::getSortKey ( )
See Also
DataValue::getSortKey
Since
0.1
Returns
string

Implements DataValues\DataValue.

static DataValues\StringValue::getType ( )
static
See Also
DataValue::getType
Since
0.1
Returns
string

Implements DataValues\DataValue.

DataValues\StringValue::getValue ( )

Returns the string.

See Also
DataValue::getValue
Since
0.1
Returns
string

Implements DataValues\DataValue.

static DataValues\StringValue::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
string$data
Returns
StringValue
DataValues\StringValue::serialize ( )
See Also
Serializable::serialize
Since
0.1
Returns
string

Implements Serializable.

DataValues\StringValue::unserialize (   $value)
See Also
Serializable::unserialize
Since
0.1
Parameters
string$value
Returns
StringValue

Implements Serializable.


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