PHP Class Storm\Core\Object\PropertyData

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

Public Methods

Method 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 )

Protected Methods

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

Method Details

Another() final public method

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

GetProperties() final public method

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

GetProperty() final public method

final public GetProperty ( $Identifier )

GetPropertyData() final public method

final public GetPropertyData ( ) : array
return array

Matches() final public method

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

SetProperty() final public method

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 method

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

__construct() public method

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

getIterator() final public method

final public getIterator ( )

offsetExists() final public method

final public offsetExists ( $Property )

offsetGet() final public method

final public offsetGet ( $Property )

offsetSet() final public method

final public offsetSet ( $Property, $Data )

offsetUnset() final public method

final public offsetUnset ( $Property )