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

Public Member Functions

 __construct (DOMElement $source, $xpathPrefix, $type=Zend_Feed_Reader::TYPE_ATOM_10)
 Constructor: Create a Source object which is largely just a normal Zend_Feed_Reader_FeedAbstract object only designed to retrieve feed level metadata from an Atom entry's source element.
 
 count ()
 Since this is not an Entry carrier but a vehicle for Feed metadata, any applicable Entry methods are stubbed out and do nothing.
 
 current ()
 
 key ()
 
 next ()
 
 rewind ()
 
 valid ()
 
- Public Member Functions inherited from Zend_Feed_Reader_Feed_Atom
 __construct (DOMDocument $dom, $type=null)
 Constructor.
 
 getAuthor ($index=0)
 Get a single author.
 
 getAuthors ()
 Get an array with feed authors.
 
 getCopyright ()
 Get the copyright entry.
 
 getDateCreated ()
 Get the feed creation date.
 
 getDateModified ()
 Get the feed modification date.
 
 getLastBuildDate ()
 Get the feed lastBuild date.
 
 getDescription ()
 Get the feed description.
 
 getGenerator ()
 Get the feed generator entry.
 
 getId ()
 Get the feed ID.
 
 getLanguage ()
 Get the feed language.
 
 getBaseUrl ()
 Get a link to the source website.
 
 getLink ()
 Get a link to the source website.
 
 getImage ()
 Get feed image data.
 
 getFeedLink ()
 Get a link to the feed's XML Url.
 
 getTitle ()
 Get the feed title.
 
 getHubs ()
 Get an array of any supported Pusubhubbub endpoints.
 
 getCategories ()
 Get all categories.
 
- Public Member Functions inherited from Zend_Feed_Reader_FeedAbstract
 __construct (DomDocument $domDocument, $type=null)
 Constructor.
 
 setOriginalSourceUri ($uri)
 Set an original source URI for the feed being parsed.
 
 getOriginalSourceUri ()
 Get an original source URI for the feed being parsed.
 
 count ()
 Get the number of feed entries.
 
 current ()
 Return the current entry.
 
 getDomDocument ()
 Get the DOM.
 
 getEncoding ()
 Get the Feed's encoding.
 
 saveXml ()
 Get feed as xml.
 
 getElement ()
 Get the DOMElement representing the items/feed element.
 
 getXpath ()
 Get the DOMXPath object for this feed.
 
 getType ()
 Get the feed type.
 
 key ()
 Return the current feed key.
 
 next ()
 Move the feed pointer forward.
 
 rewind ()
 Reset the pointer in the feed object.
 
 valid ()
 Check to see if the iterator is still valid.
 
 getExtensions ()
 
 __call ($method, $args)
 
 getExtension ($name)
 Return an Extension object with the matching name (postfixed with _Feed)
 

Protected Member Functions

 _indexEntries ()
 
- Protected Member Functions inherited from Zend_Feed_Reader_Feed_Atom
 _indexEntries ()
 Read all entries to the internal entries array.
 
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 
- Protected Member Functions inherited from Zend_Feed_Reader_FeedAbstract
 _loadExtensions ()
 
 _indexEntries ()
 Read all entries to the internal entries array.
 
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Feed_Reader_FeedAbstract
 $_data = array()
 
 $_domDocument = null
 
 $_entries = array()
 
 $_entriesKey = 0
 
 $_xpath = null
 
 $_extensions = array()
 
 $_originalSourceUri = null
 

Constructor & Destructor Documentation

__construct ( DOMElement  $source,
  $xpathPrefix,
  $type = Zend_Feed_Reader::TYPE_ATOM_10 
)

Constructor: Create a Source object which is largely just a normal Zend_Feed_Reader_FeedAbstract object only designed to retrieve feed level metadata from an Atom entry's source element.

Parameters
DOMElement$source
string$xpathPrefixPassed from parent Entry object
string$typeNearly always Atom 1.0

Member Function Documentation

_indexEntries ( )
protected
Returns
void
count ( )

Since this is not an Entry carrier but a vehicle for Feed metadata, any applicable Entry methods are stubbed out and do nothing.

Returns
void
current ( )
Returns
void
key ( )
Returns
void
next ( )
Returns
void
rewind ( )
Returns
void
valid ( )
Returns
void