Maileon PHP client  1.2.5
Easily integrate your PHP application with Maileon.
com_maileon_api_transactions_DataType Class Reference

Public Member Functions

 __construct ($value)
 
 getValue ()
 

Static Public Member Functions

static init ()
 
static getDataType ($value)
 

Public Attributes

 $value
 

Static Public Attributes

static $STRING
 
static $DOUBLE
 
static $FLOAT
 
static $INTEGER
 
static $BOOLEAN
 
static $TIMESTAMP
 
static $JSON
 

Detailed Description

A type descriptor class for attribute definitions.

The supported data types are string, double, float, integer, boolean, timestamp and json.

Author
Viktor Balogh | Wanadis Kft. | balogh.viktor@maileon.hu
Marcus Ständer | Trusted Technologies GmbH | marcus.staender@trusted-technologies.de

Definition at line 11 of file DataType.php.

Constructor & Destructor Documentation

com_maileon_api_transactions_DataType::__construct (   $value)

Creates a new DataType object.

Parameters
string$valuea string describing the data type. Valid values are "string", "double", "float", "integer", "boolean", "timestamp" and "json".

Definition at line 53 of file DataType.php.

Member Function Documentation

com_maileon_api_transactions_DataType::getValue ( )
Returns
string the type descriptor string of this DataType. Can be "string", "double", "float", "integer", "boolean", "timestamp" or "json".

Definition at line 63 of file DataType.php.

static com_maileon_api_transactions_DataType::getDataType (   $value)
static

Get the permission object by type descriptor.

Parameters
string$valuea type descriptor string. Can be "string", "double", "float", "integer", "boolean", "timestamp" or "json".
Returns
com_maileon_api_transactions_DataType the DataType object

Definition at line 77 of file DataType.php.

Member Data Documentation

string com_maileon_api_transactions_DataType::$value

A string that describes the datatype. Valid values are "string", "double", "float", "integer", "boolean", "timestamp" and "json".

Definition at line 30 of file DataType.php.


The documentation for this class was generated from the following file: