![]() |
Maileon PHP client
1.5.5
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($id=null, $filename=null, $sizekb=null, $mime_type=null, $diagnosis=null, $created=null, $updated=null) | |
fromXML ($xmlElement) | |
toXML () | |
toString () | |
![]() | |
fromXML ($xmlElement) | |
fromXMLString ($xmlString) | |
toXML () | |
toXMLString () | |
toString () | |
Public Attributes | |
$id | |
$filename | |
$sizekb | |
$mime_type | |
$diagnosis | |
$created | |
$updated | |
The wrapper class for a Maileon attachment. This class wraps the XML structure.
Definition at line 8 of file Attachment.php.
com_maileon_api_mailings_Attachment::__construct | ( | $id = null , |
|
$filename = null , |
|||
$sizekb = null , |
|||
$mime_type = null , |
|||
$diagnosis = null , |
|||
$created = null , |
|||
$updated = null |
|||
) |
Constructor initializing default values.
type | $id | |
type | $filename | |
type | $sizekb | |
type | $mime_type | |
type | $diagnosis | |
type | $created | |
type | $updated |
Definition at line 29 of file Attachment.php.
com_maileon_api_mailings_Attachment::fromXML | ( | $xmlElement | ) |
Initialization of the attachment from a simple xml element.
SimpleXMLElement | $xmlElement | The xml element that is used to parse the attachment from. |
Definition at line 53 of file Attachment.php.
com_maileon_api_mailings_Attachment::toXML | ( | ) |
Creates the XML representation of an attachment
Definition at line 69 of file Attachment.php.
com_maileon_api_mailings_Attachment::toString | ( | ) |
Human readable representation of this wrapper.
Definition at line 90 of file Attachment.php.