DataType
in package
The data types for various properties. Each Property object returned has a getDataType() method.
Tags
Table of Contents
Constants
- BOOLEAN = 0
- Type boolean
- BYTE = 1
- Type byte
- DOUBLE = 6
- Type double
- FLOAT = 5
- Type float
- INTEGER = 3
- Type int
- LONG = 4
- Type long int
- SHORT = 2
- Type short int
- STRING = 7
- Type string
- UNKNOWN = 8
- Unknown type
Properties
- $names : mixed
- Maps data types to data type names array {byte: string}
Methods
- getName() : string
Constants
BOOLEAN
Type boolean
public
mixed
BOOLEAN
= 0
BYTE
Type byte
public
mixed
BYTE
= 1
DOUBLE
Type double
public
mixed
DOUBLE
= 6
FLOAT
Type float
public
mixed
FLOAT
= 5
INTEGER
Type int
public
mixed
INTEGER
= 3
LONG
Type long int
public
mixed
LONG
= 4
SHORT
Type short int
public
mixed
SHORT
= 2
STRING
Type string
public
mixed
STRING
= 7
UNKNOWN
Unknown type
public
mixed
UNKNOWN
= 8
Properties
$names
Maps data types to data type names array {byte: string}
private
static mixed
$names
= array(self::BOOLEAN => 'Boolean', self::BYTE => 'Byte', self::SHORT => 'Short', self::INTEGER => 'Integer', self::LONG => 'Long', self::FLOAT => 'Float', self::DOUBLE => 'Double', self::STRING => 'String', self::UNKNOWN => 'Unknown')
Methods
getName()
public
static getName( $dataTypeID) : string
Parameters
Return values
string —The name of the data type.