Maileon PHP client  1.5.0
Easily integrate your PHP application with Maileon.
com_maileon_api_contactevents_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
 

Detailed Description

A type descriptor class for attribute definitions.

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

Author
Marcus Ständer | Trusted Mails GmbH | marcus.staender@trusted-mails.com

Definition at line 10 of file DataType.php.

Constructor & Destructor Documentation

com_maileon_api_contactevents_DataType::__construct (   $value)

Creates a new DataType object.

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

Definition at line 50 of file DataType.php.

Member Function Documentation

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

Definition at line 60 of file DataType.php.

static com_maileon_api_contactevents_DataType::getDataType (   $value)
static

Get the permission object by type descriptor.

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

Definition at line 74 of file DataType.php.

Member Data Documentation

string com_maileon_api_contactevents_DataType::$value

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

Definition at line 28 of file DataType.php.


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