Abstract Class Zend_Db_Xml_XmlContentStore

Description

The Zend_Db_Xml_XmlContentStore is an abstract class which represents a repository for XML Documents.

Zend_Db_Xml_XmlContentStore abstracts database persistence via convenience methods. XML Data is represented by Zend_Db_Xml_XmlContent objects. Activities to and from the persistence layer are operated on these objects.

Located in /Db/Xml/XmlContentStore.php (line 42)


	
			
Direct descendents
Class Description
 class Zend_Db_Xml_XmlContentStore_Db2 The Zend_Db_Xml_XmlContentStore_Db2 represents a DB2 repository for XML Documents.
Variable Summary
 Zend_Db_Adapter_Abstract $_conn
Method Summary
 Zend_Db_Xml_XmlContentStore __construct (Zend_Db_Adapter_Abstract $conn)
 integer delete (mixed $doc)
 integer deleteById (integer $id)
 Zend_Db_Xml_XmlIterator find (array $searchParam, $where, $where,  $options, array $options,)
 integer insert (mixed $doc)
 integer update (mixed $doc)
Variables
Zend_Db_Adapter_Abstract $_conn (line 49)

Represents a connection handle to the persistence layer

  • access: protected
Methods
Constructor __construct (line 56)

Zend_Db_Xml_XmlContentStore constructor

  • abstract:
  • access: public
Zend_Db_Xml_XmlContentStore __construct (Zend_Db_Adapter_Abstract $conn)
  • Zend_Db_Adapter_Abstract $conn

Redefined in descendants as:
delete (line 90)

Removes the XML data represented by an Zend_Db_Xml_XmlContent object from the persistence layer. An array of Zend_Db_Xml_XmlContent objects can also be passed in.

  • return: the number of rows deleted
  • abstract:
  • access: public
integer delete (mixed $doc)
  • mixed $doc

Redefined in descendants as:
deleteById (line 99)

Removes the XML data given the id of the XML document

  • return: the number of rows deleted
  • abstract:
  • access: public
integer deleteById (integer $id)
  • integer $id

Redefined in descendants as:
find (line 121)

Finds Zend_Db_Xml_XmlContent documents that match items in array

  • abstract:
  • access: public
Zend_Db_Xml_XmlIterator find (array $searchParam, $where, $where,  $options, array $options,)
  • array $searchParam: is an associative array representing element name and element text pairs. This is used to perform a simple xpath search in the persistence layer for docs that match the xpath expression
  • array $options,: type of search
  • $where, $where: search in DATA or ABOUT
  • $options

Redefined in descendants as:
findById (line 130)

Returns the Zend_Db_Xml_XmlContent object associated with given id

  • abstract:
  • access: public
Zend_Db_Xml_XmlIterator findById (integer $id)
  • integer $id

Redefined in descendants as:
insert (line 67)

Saves the XML data represented by an Zend_Db_Xml_XmlContent object into the persistence layer. An array of Zend_Db_Xml_XmlContent objects can also be passed in.

  • abstract:
  • access: public
integer insert (mixed $doc)
  • mixed $doc

Redefined in descendants as:
insertDOM (line 140)

Convenience method to insert a DOM directly into the persistence layer

  • access: public
Zend_Db_Xml_XmlContent insertDOM ( $doc)
  • DOMDocument $doc
selectAll (line 106)

Returns all documents in the content store

  • abstract:
  • access: public

Redefined in descendants as:
update (line 78)

Replaces existing XML data represented by an Zend_Db_Xml_XmlContent object in the persistence layer. An array of Zend_Db_Xml_XmlContent objects can also be passed in.

  • return: the number of documents updated
  • abstract:
  • access: public
integer update (mixed $doc)
  • mixed $doc

Redefined in descendants as:

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