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

Public Member Functions

 __construct ($custom_fields=array())
 
 fromXML ($xmlElement)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 
- Public Member Functions inherited from com_maileon_api_xml_AbstractXMLWrapper
 fromXML ($xmlElement)
 
 fromXMLString ($xmlString)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 

Public Attributes

 $custom_fields
 

Detailed Description

The wrapper class for a list of custom fields.

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

Definition at line 8 of file CustomFields.php.

Constructor & Destructor Documentation

com_maileon_api_contacts_CustomFields::__construct (   $custom_fields = array())

Constructor initializing the list from an array.

Parameters
array$custom_fieldsThe list of custom fields. Empty array if no argument passed.

Definition at line 19 of file CustomFields.php.

Member Function Documentation

com_maileon_api_contacts_CustomFields::fromXML (   $xmlElement)

Initialization of the custom fields from a simple xml element.

Parameters
SimpleXMLElement$xmlElementThe xml element that is used to parse the custom fields from.

Definition at line 31 of file CustomFields.php.

com_maileon_api_contacts_CustomFields::toXML ( )

Serialization to a simple XML element.

Returns
SimpleXMLElement Generate a XML element from the custom fields list.

Definition at line 44 of file CustomFields.php.

com_maileon_api_contacts_CustomFields::toXMLString ( )

Serialization to a simple XML element as string

Returns
string The string representation of the XML document for this list of custom fields.

Definition at line 64 of file CustomFields.php.

com_maileon_api_contacts_CustomFields::toString ( )

Human readable representation of this list of custom fields.

Returns
string The human readable representation of the list of custom fields.

Definition at line 76 of file CustomFields.php.


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