Maileon PHP client
1.5.0
Easily integrate your PHP application with Maileon.
Main Page
Related Pages
Classes
Files
File List
Open.php
1
<?php
2
8
class
com_maileon_api_reports_Open
extends
com_maileon_api_xml_AbstractXMLWrapper
9
{
13
public
$timestamp;
14
18
public
$contact;
19
23
public
$mailingId;
24
29
function
toString
()
30
{
31
return
"Open [timestamp="
. $this->timestamp .
32
", contact="
. $this->contact->toString() .
33
", mailingId="
. $this->mailingId .
"]"
;
34
}
35
40
function
toCsvString
()
41
{
42
return
$this->timestamp .
43
";"
. $this->contact->toCsvString() .
44
";"
. $this->mailingId;
45
}
46
53
function
fromXML
($xmlElement)
54
{
55
$this->contact =
new
com_maileon_api_reports_ReportContact
();
56
$this->contact->fromXML($xmlElement->contact);
57
58
if
(isset($xmlElement->mailing_id)) $this->mailingId = $xmlElement->mailing_id;
59
if
(isset($xmlElement->timestamp)) $this->timestamp = $xmlElement->timestamp;
60
}
61
68
function
toXML
()
69
{
70
// Not implemented yet.
71
}
72
}
com_maileon_api_reports_Open\toXML
toXML()
Definition:
Open.php:68
com_maileon_api_reports_Open\toCsvString
toCsvString()
Definition:
Open.php:40
com_maileon_api_reports_ReportContact
Definition:
ReportContact.php:9
com_maileon_api_reports_Open\fromXML
fromXML($xmlElement)
Definition:
Open.php:53
com_maileon_api_xml_AbstractXMLWrapper
Definition:
AbstractXMLWrapper.php:9
com_maileon_api_reports_Open\toString
toString()
Definition:
Open.php:29
com_maileon_api_reports_Open
Definition:
Open.php:8
client
com
maileon
api
reports
Open.php
Generated on Tue Apr 2 2019 16:02:13 for Maileon PHP client by
1.8.9.1