TOP

Mobi_Mtld_DA_PropertyName

Contains a property name and the expected data type of values associated with this name.
Source
PropertyName.php
Depends on
Mobi_Mtld_DA_DataType
Author
DeviceAtlas Limited

Methods

__construct

Mobi_Mtld_DA_PropertyName $obj = new Mobi_Mtld_DA_PropertyName(string name, byte dataTypeId)

Create a new PropertyName with a name and the expected data type of value assigned to it.

Arguments

    name (string)
    The name
    dataTypeId (byte)
    The data type

Returns

void

__toString

(data __toString()

Returns a string to present this object.

Returns

(data
type)

equals

bool $obj->equals(Mobi_Mtld_DA_PropertyName obj)

Compare two instances of this class. If both have equal values and data type then returns true.

Arguments

Returns

bool
true=equals

getDataType

string $obj->getDataType()

Get the data type name for values associated with this Property name.

Returns

string
The name of the data type

getDataTypeId

int $obj->getDataTypeId()

Get the data type ID for values associated with this Property name.

Returns

int
The ID of the data type

getName

string $obj->getName()

Get the name of this PropertyName.

Returns

string
The name of the PropertyName

toString

string $obj->toString()

Returns a string to present this object.

Returns

string
(data type)