Class Zend_Db_Xml_XmlContent

Description

The Zend_Db_Xml_XmlContent class is a class representing an XML Document.

Located in /Db/Xml/XmlContent.php (line 31)


	
			
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 (DOMDocument $data)
 void setId (integer $id)
Variables
DOMDocument $about (line 51)
  • access: public
mixed $attachment (line 41)
  • access: public
DOMDocument $data (line 46)
  • access: public
integer $id (line 36)
  • access: public
Methods
Constructor __construct (line 59)

Zend_Db_Xml_XmlContent constructor

  • access: public
Zend_Db_Xml_XmlContent __construct ([DOMDocument $element = null])
  • DOMDocument $element: The DOMDocument we're encapsulating.
getAbout (line 111)

returns the $about XML document

  • access: public
DOMDocument getAbout ()
getAttachment (line 79)

Retrieve the attachment associated with this XML content object

  • access: public
void getAttachment ()
getData (line 132)

return $data

  • access: public
DOMDocument getData ()
hasAttachment (line 101)

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

  • access: public
boolean hasAttachment ()
setAbout (line 122)

replaces the existing $about document with the DOMDocument parameter

  • access: public
void setAbout (DOMDocument $about)
  • DOMDocument $about
setAttachment (line 90)

set the attachment associated with this XML content object

  • access: public
void setAttachment (var $attach)
  • var $attach
setData (line 143)

set the $data document for this object

  • access: public
void setData (DOMDocument $data)
  • DOMDocument $data
setId (line 153)

set the XML content document id with $id

  • access: public
void setId (integer $id)
  • integer $id

Documentation generated on Wed, 21 Feb 2007 12:03:15 -0800 by phpDocumentor 1.3.1