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

Public Member Functions

 __construct (DOMElement $entry, $entryKey, $type=null)
 Constructor.
 
 getDomDocument ()
 Get the DOM.
 
 getElement ()
 Get the entry element.
 
 getEncoding ()
 Get the Entry's encoding.
 
 saveXml ()
 Get entry as xml.
 
 getType ()
 Get the entry type.
 
 getXpath ()
 Get the XPath query object.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query.
 
 getExtensions ()
 Get registered extensions.
 
 getExtension ($name)
 Return an Extension object with the matching name (postfixed with _Entry)
 
 __call ($method, $args)
 Method overloading: call given method on first extension implementing it.
 

Protected Member Functions

 _loadExtensions ()
 Load extensions from Zend_Feed_Reader.
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Constructor.

Parameters
DOMElement$entry
int$entryKey
string | null$type
Returns
void

Member Function Documentation

__call (   $method,
  $args 
)

Method overloading: call given method on first extension implementing it.

Parameters
string$method
array$args
Returns
mixed
Exceptions
Zend_Feed_Exceptionif no extensions implements the method
_loadExtensions ( )
protected

Load extensions from Zend_Feed_Reader.

Returns
void
getDomDocument ( )

Get the DOM.

Returns
DOMDocument
getElement ( )

Get the entry element.

Returns
DOMElement
getEncoding ( )

Get the Entry's encoding.

Returns
string
getExtension (   $name)

Return an Extension object with the matching name (postfixed with _Entry)

Parameters
string$name
Returns
Zend_Feed_Reader_Extension_EntryAbstract
getExtensions ( )

Get registered extensions.

Returns
array
getType ( )

Get the entry type.

Returns
string
getXpath ( )

Get the XPath query object.

Returns
DOMXPath
saveXml ( )

Get entry as xml.

Returns
string
setXpath ( DOMXPath  $xpath)

Set the XPath query.

Parameters
DOMXPath$xpath
Returns
Zend_Feed_Reader_Entry_EntryAbstract

Member Data Documentation

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