Maileon PHP client  1.5.5
Easily integrate your PHP application with Maileon.
com_maileon_api_xml_XMLUtils Class Reference

Static Public Member Functions

static appendChild (SimpleXMLElement $to, SimpleXMLElement $from)
 
static addChildAsCDATA ($parent, $name, $value=NULL)
 

Detailed Description

Utility class for XML elements

Author
Felix Heinrichs | Trusted Mails GmbH | felix.heinrichs@trusted-mails.com
Marcus Ständer | Trusted Mails GmbH | marcus.staender@trusted-mails.com

Definition at line 10 of file XMLUtils.php.

Member Function Documentation

static com_maileon_api_xml_XMLUtils::appendChild ( SimpleXMLElement  $to,
SimpleXMLElement  $from 
)
static

This function appends one SimpleXMLElement to another one as addChild does not support deep copies

Parameters
\SimpleXMLElement$to
\SimpleXMLElement$from

Definition at line 18 of file XMLUtils.php.

static com_maileon_api_xml_XMLUtils::addChildAsCDATA (   $parent,
  $name,
  $value = NULL 
)
static

Adds a child with $value inside CDATA

Parameters
unknown$name
unknown$value

Definition at line 30 of file XMLUtils.php.


The documentation for this class was generated from the following file: