PHP Class Storm\Core\Object\PropertyData

Author: Elliot Levin ([email protected])
Inheritance: implements IteratorAggregate, implements ArrayAccess
Afficher le fichier Open project: timetoogo/penumbra Class Usage Examples

Méthodes publiques

Méthode Description
Another ( array $PropertyData = [] ) : PropertyData Get another property data instance with new data.
GetProperties ( array $Identifiers = null ) : Storm\Core\Object\IProperty[]
GetProperty ( $Identifier )
GetPropertyData ( ) : array
Matches ( PropertyData $Data ) : boolean Whether or not the property data is the same.
SetProperty ( Storm\Core\Object\IProperty $Property, mixed $Data ) Sets a value for the supplied property
__construct ( array $Properties, array $PropertyData = [] )
getIterator ( )
offsetExists ( $Property )
offsetGet ( $Property )
offsetSet ( $Property, $Data )
offsetUnset ( $Property )

Méthodes protégées

Méthode Description
VerifyProperty ( Storm\Core\Object\IProperty $Property, $Identifier )

Method Details

Another() final public méthode

Get another property data instance with new data.
final public Another ( array $PropertyData = [] ) : PropertyData
$PropertyData array
Résultat PropertyData

GetProperties() final public méthode

final public GetProperties ( array $Identifiers = null ) : Storm\Core\Object\IProperty[]
$Identifiers array
Résultat Storm\Core\Object\IProperty[]

GetProperty() final public méthode

final public GetProperty ( $Identifier )

GetPropertyData() final public méthode

final public GetPropertyData ( ) : array
Résultat array

Matches() final public méthode

Whether or not the property data is the same.
final public Matches ( PropertyData $Data ) : boolean
$Data PropertyData Another property data
Résultat boolean

SetProperty() final public méthode

Sets a value for the supplied property
final public SetProperty ( Storm\Core\Object\IProperty $Property, mixed $Data )
$Property Storm\Core\Object\IProperty The property to set the value for
$Data mixed The value to set for the property

VerifyProperty() protected méthode

protected VerifyProperty ( Storm\Core\Object\IProperty $Property, $Identifier )
$Property Storm\Core\Object\IProperty

__construct() public méthode

public __construct ( array $Properties, array $PropertyData = [] )
$Properties array
$PropertyData array

getIterator() final public méthode

final public getIterator ( )

offsetExists() final public méthode

final public offsetExists ( $Property )

offsetGet() final public méthode

final public offsetGet ( $Property )

offsetSet() final public méthode

final public offsetSet ( $Property, $Data )

offsetUnset() final public méthode

final public offsetUnset ( $Property )