Maileon PHP client  1.2.5
Easily integrate your PHP application with Maileon.
AbstractXMLWrapper.php
1 <?php
2 
10 {
17  abstract function fromXML($xmlElement);
18 
25  function fromXMLString($xmlString)
26  {
27  $xmlElement = simplexml_load_string($xmlString);
28  $this->fromXML($xmlElement);
29  }
30 
37  abstract function toXML();
38 
46  function toXMLString()
47  {
48  $result = $this->toXML();
49  return $result->asXML();
50  }
51 
56  abstract function toString();
57 }