Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Feed_Reader_Extension_FeedAbstract Class Reference

Public Member Functions

 __construct (DomDocument $dom, $type=null, DOMXPath $xpath=null)
 Constructor.
 
 getDomDocument ()
 Get the DOM.
 
 getEncoding ()
 Get the Feed's encoding.
 
 getType ()
 Get the feed type.
 
 toArray ()
 Return the feed as an array.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query.
 
 getXpath ()
 Get the DOMXPath object.
 
 getXpathPrefix ()
 Get the XPath prefix.
 
 setXpathPrefix ($prefix)
 Set the XPath prefix.
 

Protected Member Functions

 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 

Protected Attributes

 $_data = array()
 
 $_domDocument = null
 
 $_xpath = null
 
 $_xpathPrefix = ''
 

Constructor & Destructor Documentation

__construct ( DomDocument  $dom,
  $type = null,
DOMXPath  $xpath = null 
)

Constructor.

Parameters
Zend_Feed_Abstract$feedThe source Zend_Feed object
string$typeFeed type
Returns
void

Member Function Documentation

_registerNamespaces ( )
abstractprotected

Register the default namespaces for the current feed format.

getDomDocument ( )

Get the DOM.

Returns
DOMDocument
getEncoding ( )

Get the Feed's encoding.

Returns
string
getType ( )

Get the feed type.

Returns
string
getXpath ( )

Get the DOMXPath object.

Returns
string
getXpathPrefix ( )

Get the XPath prefix.

Returns
string
setXpath ( DOMXPath  $xpath)

Set the XPath query.

Parameters
DOMXPath$xpath
Returns
Zend_Feed_Reader_Extension_EntryAbstract
setXpathPrefix (   $prefix)

Set the XPath prefix.

Returns
Zend_Feed_Reader_Feed_Atom
toArray ( )

Return the feed as an array.

Returns
array

Member Data Documentation

$_data = array()
protected
$_domDocument = null
protected
$_xpath = null
protected
$_xpathPrefix = ''
protected