Maileon PHP client  1.5.5
Easily integrate your PHP application with Maileon.
com_maileon_api_contactevents_ContactEvent Class Reference
Inheritance diagram for com_maileon_api_contactevents_ContactEvent:
com_maileon_api_xml_AbstractXMLWrapper

Public Member Functions

 __construct ()
 
 setProperty ($key, $value)
 
 fromXML ($xmlElement)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 
- Public Member Functions inherited from com_maileon_api_xml_AbstractXMLWrapper
 fromXML ($xmlElement)
 
 fromXMLString ($xmlString)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 

Public Attributes

 $email
 
 $external_id
 
 $properties
 

Detailed Description

The wrapper class for a Maileon contact event.

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

Definition at line 8 of file ContactEvent.php.

Constructor & Destructor Documentation

com_maileon_api_contactevents_ContactEvent::__construct ( )

Constructor initializing default values.

Definition at line 17 of file ContactEvent.php.

Member Function Documentation

com_maileon_api_contactevents_ContactEvent::setProperty (   $key,
  $value 
)

Sets a string, int, float or double value or creates it if it does not exist yes. true will be translated to 1 and false to 0.

Parameters
string$keythe name of the attribute to set
string$valuethe new attribute value

Definition at line 32 of file ContactEvent.php.

com_maileon_api_contactevents_ContactEvent::fromXML (   $xmlElement)

For future use, not yet implemented.

Parameters
SimpleXMLElement$xmlElement

Definition at line 44 of file ContactEvent.php.

com_maileon_api_contactevents_ContactEvent::toXML ( )
Returns
SimpleXMLElement containing the XML serialization of this object

Definition at line 52 of file ContactEvent.php.

com_maileon_api_contactevents_ContactEvent::toXMLString ( )
Returns
string containing the XML serialization of this object

Definition at line 82 of file ContactEvent.php.

com_maileon_api_contactevents_ContactEvent::toString ( )
Returns
string a human-readable representation listing all the attributes of this event and their respective values.

Definition at line 92 of file ContactEvent.php.


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