\Mobi_Mtld_DA_Properties

Contains a map of names to Property objects. An instance of this class is returned by getProperties().

Summary

Methods
Properties
Constants
getIterator()
put()
get()
containsKey()
isEmpty()
size()
keySet()
toString()
__toString()
contains()
__isset()
__get()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$properties
N/A

Properties

$properties

$properties : 

Type

Methods

getIterator()

getIterator() 

put()

put(  $name,   $property) 

Associates the specified Property with the specified name. If a Property for this name currently exists it will be replaced by the new value.

Parameters

$name
$property

get()

get(  $name) : \Property

Returns the Property to which the specified name is mapped to, or null if there is no mapping for this name.

Parameters

$name

Returns

\Property —

The value to which the specified name is mapped to, or null if the map contains no mapping for this name.

containsKey()

containsKey(  $name) : boolean

Returns true if the Properties contains a mapping for the specified name.

Parameters

$name

Returns

boolean —

true if a Property exists for the specified key.

isEmpty()

isEmpty() : boolean

Returns true if there are no properties.

Returns

boolean —

true=if no properties exist.

size()

size() : integer

Returns the number of Property objects in this Properties Map.

Returns

integer —

the number of mappings in this map.

keySet()

keySet() : array

Get the property names of the property set.

Returns

array —

Property names

toString()

toString() : string

Serialize properties to JSON.

Returns

string —

A serialized string of the properties.

__toString()

__toString() : string

Serialize properties to JSON.

Returns

string —

A serialized string of the properties.

contains()

contains(  $name,   $value) : boolean

Check if a property has a specific value.

Parameters

$name
$value

Returns

boolean —

true=the property value matched the expected value

__isset()

__isset(  $name) : boolean

Returns true if the Properties contains a mapping for the specified name.

Parameters

$name

Returns

boolean —

true if a Property exists for the specified key.

__get()

__get(  $name) : mixed

Returns the property value, the data type of the value is set proper data type as defined for the property. If property does not exist null will be returned

Parameters

$name

Returns

mixed —

The property typed value or null