![]() |
Maileon PHP client
1.5.0
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($contacts=array()) | |
addContact ($contact) | |
getIterator () | |
fromXML ($xmlElement) | |
toXML () | |
toXMLString () | |
toString () | |
![]() | |
fromXML ($xmlElement) | |
fromXMLString ($xmlString) | |
toXML () | |
toXMLString () | |
toString () | |
A wrapper class for a list of Maileon contacts. To access the contacts contained within this list, iterate this object using foreach (i.e. IteratorAggregate is implemented).
Definition at line 7 of file Contacts.php.
com_maileon_api_contacts_Contacts::__construct | ( | $contacts = array() | ) |
Creates a new list of contacts.
com_maileon_api_contacts_Contacts[] | $contacts the contacts in the list of contacts |
Definition at line 17 of file Contacts.php.
com_maileon_api_contacts_Contacts::addContact | ( | $contact | ) |
Adds a new contact to this list of contacts.
com_maileon_api_contacts_Contact | $contact |
Definition at line 28 of file Contacts.php.
com_maileon_api_contacts_Contacts::getIterator | ( | ) |
Definition at line 37 of file Contacts.php.
com_maileon_api_contacts_Contacts::fromXML | ( | $xmlElement | ) |
Initialization of the contact from a simple xml element. NOT YET IMPLEMENTED.
SimpleXMLElement | $xmlElement | The xml element that is used to parse the contact list from. |
Definition at line 48 of file Contacts.php.
com_maileon_api_contacts_Contacts::toXML | ( | ) |
Serialization to a simple XML element.
Definition at line 65 of file Contacts.php.
com_maileon_api_contacts_Contacts::toXMLString | ( | ) |
Serialization to a simple XML element as string
Definition at line 84 of file Contacts.php.
com_maileon_api_contacts_Contacts::toString | ( | ) |
Human readable representation of this wrapper.
Definition at line 96 of file Contacts.php.