## Zend_Db_Xml_XmlContent

Description

The Zend_Db_Xml_XmlContent class is a class representing an XML Document.

- author: Salvador Ledezma <ledezma@us.ibm.com>
- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /library/Zend/Db/Xml/XmlContent.php (line 29)

Variable Summary
DOMDocument $about
mixed $attachment
DOMDocument $data
integer $id
Method Summary
Zend_Db_Xml_XmlContent __construct ([DOMDocument $element = null])
DOMDocument getAbout ()
void getAttachment ()
DOMDocument getData ()
boolean hasAttachment ()
void setAbout (DOMDocument $about)
void setAttachment (var $attach)
void setData (mixed $data)
void setId (integer $id)
Variables
DOMDocument $about (line 49)

- access: public

mixed $attachment (line 39)

- access: public

DOMDocument $data (line 44)

- access: public

integer $id (line 34)

- access: public

Methods
Constructor __construct (line 57)

Zend_Db_Xml_XmlContent constructor

- access: public

Zend_Db_Xml_XmlContent __construct ([DOMDocument $element = null])

- DOMDocument $element: The DOMDocument we're encapsulating.

getAbout (line 109)

returns the $about XML document

- access: public

DOMDocument getAbout ()
getAttachment (line 77)

Retrieve the attachment associated with this XML content object

- access: public

void getAttachment ()
getData (line 130)

return $data

- access: public

DOMDocument getData ()
hasAttachment (line 99)

returns true if an attachment has been set for this XML content object, false otherwise

- access: public

boolean hasAttachment ()
setAbout (line 120)

replaces the existing $about document with the DOMDocument parameter

- access: public

void setAbout (DOMDocument $about)

- DOMDocument $about

setAttachment (line 88)

set the attachment associated with this XML content object

- access: public

void setAttachment (var $attach)

- var $attach

setData (line 141)

set the $data document for this object

- access: public

void setData (mixed $data)
setId (line 151)

set the XML content document id with $id

- access: public

void setId (integer $id)

- integer $id

Documentation generated on Tue, 11 Jul 2006 12:24:23 -0500 by phpDocumentor 1.3.0RC6