API Documentation

Feed/Reader/Feed/Atom.php

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  
version
$Id: Atom.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Feed_Reader_Feed_Atom

Extends from
\Zend_Feed_Reader_FeedAbstract
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  

Methods

methodpublic__call(  $method,  $args ) : void
Parameters
Name Type Description
$method
$args
methodpublic__construct( \DOMDocument $dom, string $type = null ) : void

Constructor

Parameters
Name Type Description
$dom \DOMDocument
$type string
methodprotected_indexEntries( ) : void

Read all entries to the internal entries array

methodprotected_loadExtensions( ) : void
methodprotected_registerNamespaces( ) : void

Register the default namespaces for the current feed format

methodpubliccount( ) : int

Get the number of feed entries.

Inherited from: \Zend_Feed_Reader_FeedAbstract::count()

Required by the Iterator interface.

Returns
Type Description
int
methodpubliccurrent( ) : \Zend_Feed_Reader_EntryInterface

Return the current entry

Inherited from: \Zend_Feed_Reader_FeedAbstract::current()
Returns
Type Description
\Zend_Feed_Reader_EntryInterface
methodpublicgetAuthor( int $index = 0 ) : string|null

Get a single author

Parameters
Name Type Description
$index int
Returns
Type Description
stringnull
methodpublicgetAuthors( ) : array

Get an array with feed authors

Returns
Type Description
array
methodpublicgetBaseUrl( ) : string|null

Get a link to the source website

Returns
Type Description
stringnull
methodpublicgetCategories( ) : \Zend_Feed_Reader_Collection_Category

Get all categories

Returns
Type Description
\Zend_Feed_Reader_Collection_Category
methodpublicgetCopyright( ) : string|null

Get the copyright entry

Returns
Type Description
stringnull
methodpublicgetDateCreated( ) : string|null

Get the feed creation date

Returns
Type Description
stringnull
methodpublicgetDateModified( ) : string|null

Get the feed modification date

Returns
Type Description
stringnull
methodpublicgetDescription( ) : string|null

Get the feed description

Returns
Type Description
stringnull
methodpublicgetDomDocument( ) : \DOMDocument
Returns
Type Description
\DOMDocument
methodpublicgetElement( ) : \DOMElement

Get the DOMElement representing the items/feed element

Inherited from: \Zend_Feed_Reader_FeedAbstract::getElement()
Returns
Type Description
\DOMElement
methodpublicgetEncoding( ) : string

Get the Feed's encoding

Inherited from: \Zend_Feed_Reader_FeedAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetExtension( string $name ) : \Zend_Feed_Reader_Extension_FeedAbstract

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

Inherited from: \Zend_Feed_Reader_FeedAbstract::getExtension()
Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Feed_Reader_Extension_FeedAbstract
methodpublicgetExtensions( ) : void
methodpublicgetFeedLink( ) : string|null

Get a link to the feed's XML Url

Returns
Type Description
stringnull
methodpublicgetGenerator( ) : string|null

Get the feed generator entry

Returns
Type Description
stringnull
methodpublicgetHubs( ) : array|null

Get an array of any supported Pusubhubbub endpoints

Returns
Type Description
arraynull
methodpublicgetId( ) : string|null

Get the feed ID

Returns
Type Description
stringnull
methodpublicgetImage( ) : array|null

Get feed image data

Returns
Type Description
arraynull
methodpublicgetLanguage( ) : string|null

Get the feed language

Returns
Type Description
stringnull
methodpublicgetLastBuildDate( ) : string|null

Get the feed lastBuild date. This is not implemented in Atom.

Returns
Type Description
stringnull
methodpublicgetLink( ) : string|null

Get a link to the source website

Returns
Type Description
stringnull
methodpublicgetOriginalSourceUri( ) : string|null

Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.

Inherited from: \Zend_Feed_Reader_FeedAbstract::getOriginalSourceUri()
Returns
Type Description
stringnull
methodpublicgetTitle( ) : string|null

Get the feed title

Returns
Type Description
stringnull
methodpublicgetType( ) : string

Get the feed type

Inherited from: \Zend_Feed_Reader_FeedAbstract::getType()
Returns
Type Description
string
methodpublicgetXpath( ) : \DOMXPath

Get the DOMXPath object for this feed

Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()
Returns
Type Description
\DOMXPath
methodpublickey( ) : \unknown

Return the current feed key

Inherited from: \Zend_Feed_Reader_FeedAbstract::key()
Returns
Type Description
\unknown
methodpublicnext( ) : void

Move the feed pointer forward

Inherited from: \Zend_Feed_Reader_FeedAbstract::next()
methodpublicrewind( ) : void

Reset the pointer in the feed object

Inherited from: \Zend_Feed_Reader_FeedAbstract::rewind()
methodpublicsaveXml( ) : string

Get feed as xml

Inherited from: \Zend_Feed_Reader_FeedAbstract::saveXml()
Returns
Type Description
string
methodpublicsetOriginalSourceUri( string $uri ) : void

Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.

Inherited from: \Zend_Feed_Reader_FeedAbstract::setOriginalSourceUri()
Parameters
Name Type Description
$uri string
methodpublicvalid( ) : boolean

Check to see if the iterator is still valid

Inherited from: \Zend_Feed_Reader_FeedAbstract::valid()
Returns
Type Description
boolean
Documentation was generated by DocBlox 0.13.3.