class ObjectStateGroupUpdateStruct extends ValueObject
This class represents a value for updating object state groups.
Properties
string | $identifier | Readable unique string identifier of a group. |
string | $defaultLanguageCode | The default language code. |
string[] | $names | An array of names with languageCode keys. |
string[] | $descriptions | An array of descriptions with languageCode keys. |
Methods
__construct(array $properties = array())
Construct object optionally with a set of properties. |
from ValueObject | |
__set(string $property, string $value)
Magic set function handling writes to non public properties. |
from ValueObject | |
mixed |
__get(string $property)
Magic get function handling read to non public properties. |
from ValueObject |
bool |
__isset(string $property)
Magic isset function handling isset() to non public properties. |
from ValueObject |
bool |
__unset(string $property)
Magic unset function handling unset() to non public properties. |
from ValueObject |
static ValueObject |
__set_state(array $array)
Returns a new instance of this class with the data specified by $array. |
from ValueObject |
mixed |
attribute(string $property)
Internal function for Legacy template engine compatibility to get property value. |
from ValueObject |
array |
attributes()
Internal function for Legacy template engine compatibility to get properties. |
from ValueObject |
bool |
hasAttribute(string $property)
Internal function for Legacy template engine compatibility to check existence of property. |
from ValueObject |
Details
in ValueObject at line 32
public
__construct(array $properties = array())
Construct object optionally with a set of properties.
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
in ValueObject at line 75
public
__set(string $property, string $value)
Magic set function handling writes to non public properties.
in ValueObject at line 96
public mixed
__get(string $property)
Magic get function handling read to non public properties.
Returns value for all readonly (protected) properties.
in ValueObject at line 115
public bool
__isset(string $property)
Magic isset function handling isset() to non public properties.
Returns true for all (public/)protected/private properties.
in ValueObject at line 134
public bool
__unset(string $property)
Magic unset function handling unset() to non public properties.
in ValueObject at line 155
static public ValueObject
__set_state(array $array)
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__setstate makes this class exportable with varexport. var_export() generates code, that calls this method when it is parsed with PHP.
in ValueObject at line 173
final public mixed
attribute(string $property)
Internal function for Legacy template engine compatibility to get property value.
in ValueObject at line 189
final public array
attributes()
Internal function for Legacy template engine compatibility to get properties.
in ValueObject at line 207
final public bool
hasAttribute(string $property)
Internal function for Legacy template engine compatibility to check existence of property.