![]() |
Maileon PHP client
1.5.5
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($minutes=null, $hours=null, $state=null, $date=null) | |
fromXML ($xmlElement) | |
toXML ($addXMLDeclaration=true) | |
toXMLString () | |
toString () | |
toDateTime () | |
![]() | |
fromXML ($xmlElement) | |
fromXMLString ($xmlString) | |
toXML () | |
toXMLString () | |
toString () | |
Public Attributes | |
$minutes | |
$hours | |
$state | |
$date | |
The wrapper class for a Maileon schedule. This class wraps the XML structure.
Definition at line 8 of file Schedule.php.
com_maileon_api_mailings_Schedule::__construct | ( | $minutes = null , |
|
$hours = null , |
|||
$state = null , |
|||
$date = null |
|||
) |
Constructor initializing default values.
number | $id | The Maileon mailing id. |
array | $fields | An array of fields. |
Definition at line 22 of file Schedule.php.
com_maileon_api_mailings_Schedule::fromXML | ( | $xmlElement | ) |
Initialization of the schedule from a simple xml element.
SimpleXMLElement | $xmlElement | The xml element that is used to parse the schedule from. |
Definition at line 39 of file Schedule.php.
com_maileon_api_mailings_Schedule::toXML | ( | $addXMLDeclaration = true | ) |
Serialization to a simple XML element.
bool | $addXMLDeclaration |
Definition at line 54 of file Schedule.php.
com_maileon_api_mailings_Schedule::toXMLString | ( | ) |
Serialization to a simple XML element as string
Definition at line 72 of file Schedule.php.
com_maileon_api_mailings_Schedule::toString | ( | ) |
Human readable representation of this wrapper.
Definition at line 83 of file Schedule.php.
com_maileon_api_mailings_Schedule::toDateTime | ( | ) |
Date and time representation of this wrapper.
Definition at line 93 of file Schedule.php.