![]() |
Maileon PHP client
1.5.5
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($id=null, $fields=array()) | |
fromXML ($xmlElement) | |
getFieldValue ($fieldName) | |
toXML ($addXMLDeclaration=true) | |
toXMLString () | |
toString () | |
![]() | |
fromXML ($xmlElement) | |
fromXMLString ($xmlString) | |
toXML () | |
toXMLString () | |
toString () | |
Public Attributes | |
$id | |
$fields | |
The wrapper class for a Maileon mailing. This class wraps the XML structure.
Definition at line 8 of file Mailing.php.
com_maileon_api_mailings_Mailing::__construct | ( | $id = null , |
|
$fields = array() |
|||
) |
Constructor initializing default values.
number | $id | The Maileon mailing id. |
array | $fields | An array of fields. |
Definition at line 21 of file Mailing.php.
com_maileon_api_mailings_Mailing::fromXML | ( | $xmlElement | ) |
Initialization of the mailing from a simple xml element.
SimpleXMLElement | $xmlElement | The xml element that is used to parse the mailing from. |
Definition at line 35 of file Mailing.php.
com_maileon_api_mailings_Mailing::getFieldValue | ( | $fieldName | ) |
Returns the value of the field with the given name
string | fieldName The field name of the element to return the value of |
Definition at line 56 of file Mailing.php.
com_maileon_api_mailings_Mailing::toXML | ( | $addXMLDeclaration = true | ) |
Serialization to a simple XML element.
bool | $addXMLDeclaration |
Definition at line 73 of file Mailing.php.
com_maileon_api_mailings_Mailing::toXMLString | ( | ) |
Serialization to a simple XML element as string
Definition at line 99 of file Mailing.php.
com_maileon_api_mailings_Mailing::toString | ( | ) |
Human readable representation of this wrapper.
Definition at line 111 of file Mailing.php.