Maileon PHP client  1.5.5
Easily integrate your PHP application with Maileon.
com_maileon_api_contacts_SynchronizationMode Class Reference

Public Member Functions

 __construct ($code=0)
 
 getCode ()
 

Static Public Member Functions

static init ()
 
static getSynchronizationMode ($code)
 

Public Attributes

 $code
 

Static Public Attributes

static $UPDATE
 
static $IGNORE
 

Detailed Description

The wrapper class for a Maileon synchronization mode. 1 = UPDATE, 2 = IGNORE.

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

Definition at line 8 of file SynchronizationMode.php.

Constructor & Destructor Documentation

com_maileon_api_contacts_SynchronizationMode::__construct (   $code = 0)

Constructor initializing the code of the synchronization mode.

Parameters
number$codeThe code to use for the constructed synchronization mode.

Definition at line 35 of file SynchronizationMode.php.

Member Function Documentation

static com_maileon_api_contacts_SynchronizationMode::init ( )
static

This is the initialization method for the synchronization modes. This must be called once in the beginning.

Definition at line 20 of file SynchronizationMode.php.

com_maileon_api_contacts_SynchronizationMode::getCode ( )

Get the code of this synchronization mode. 1 = UPDATE, 2 = IGNORE.

Returns
number the code of the synchronization mode object

Definition at line 46 of file SynchronizationMode.php.

static com_maileon_api_contacts_SynchronizationMode::getSynchronizationMode (   $code)
static

Get the synchronization mode from the code

Parameters
int$codethe code to get the synchronization mode for
Returns
com_maileon_api_contacts_SynchronizationMode the synchronization mode for the given code

Definition at line 59 of file SynchronizationMode.php.


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