diff options
Diffstat (limited to 'engine/lib/xml.php')
-rw-r--r-- | engine/lib/xml.php | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/engine/lib/xml.php b/engine/lib/xml.php index b21fdd92b..f9c5985c9 100644 --- a/engine/lib/xml.php +++ b/engine/lib/xml.php @@ -9,25 +9,8 @@ * @link http://elgg.org/ */ - /** - * @class XmlElement - * A class representing an XML element for import. - */ - class XmlElement - { - /** The name of the element */ - public $name; - - /** The attributes */ - public $attributes; - - /** CData */ - public $content; - - /** Child elements */ - public $children; - }; - + require_once dirname(dirname(__FILE__)).'/classes/XmlElement.php'; + /** * This function serialises an object recursively into an XML representation. * The function attempts to call $data->export() which expects a stdClass in return, otherwise it will attempt to |