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

Public Member Functions

 __construct (DOMElement $entry, $entryKey, $type=null)
 Constructor.
 
 getDomDocument ()
 Get the DOM.
 
 getEncoding ()
 Get the Entry's encoding.
 
 getType ()
 Get the entry type.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query.
 
 getXpath ()
 Get the XPath query object.
 
 toArray ()
 Serialize the entry to an array.
 
 getXpathPrefix ()
 Get the XPath prefix.
 
 setXpathPrefix ($prefix)
 Set the XPath prefix.
 

Protected Member Functions

 _registerNamespaces ()
 Register XML namespaces.
 

Protected Attributes

 $_data = array()
 
 $_domDocument = null
 
 $_entry = null
 
 $_entryKey = 0
 
 $_xpath = null
 
 $_xpathPrefix = ''
 

Constructor & Destructor Documentation

__construct ( DOMElement  $entry,
  $entryKey,
  $type = null 
)

Constructor.

Parameters
Zend_Feed_Entry_Abstract$entry
int$entryKey
string$type
Returns
void

Member Function Documentation

_registerNamespaces ( )
abstractprotected

Register XML namespaces.

Returns
void
getDomDocument ( )

Get the DOM.

Returns
DOMDocument
getEncoding ( )

Get the Entry's encoding.

Returns
string
getType ( )

Get the entry type.

Returns
string
getXpath ( )

Get the XPath query object.

Returns
DOMXPath
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.

Parameters
string$prefix
Returns
Zend_Feed_Reader_Extension_EntryAbstract
toArray ( )

Serialize the entry to an array.

Returns
array

Member Data Documentation

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