API Documentation

Feed/Reader/Entry/Rss.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: Rss.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Feed_Reader_Entry_Rss

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

Properties

Propertyprotectedstring  $_xpathQueryRdf= ''

XPath query for RDF

Details
Type
string
Propertyprotectedstring  $_xpathQueryRss= ''

XPath query for RSS

Details
Type
string

Methods

methodpublic__call( string $method, array $args ) : mixed

Method overloading: call given method on first extension implementing it

Inherited from: \Zend_Feed_Reader_EntryAbstract::__call()
Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
Throws
Exception Description
\Zend_Feed_Exception if no extensions implements the method
methodpublic__construct( \Zend_Feed_Entry_Abstract $entry, string $entryKey, string $type = null ) : void

Constructor

Parameters
Name Type Description
$entry \Zend_Feed_Entry_Abstract
$entryKey string
$type string
methodprotected_loadExtensions( ) : void

Load extensions from Zend_Feed_Reader

Inherited from: \Zend_Feed_Reader_EntryAbstract::_loadExtensions()
methodpublicgetAuthor(  $index = 0 ) : string

Get an author entry

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

Get an array with feed authors

Returns
Type Description
array
methodpublicgetCategories( ) : \Zend_Feed_Reader_Collection_Category

Get all categories

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

Get the number of comments/replies for current entry

Returns
Type Description
stringnull
methodpublicgetCommentFeedLink( ) : string

Returns a URI pointing to a feed of all comments for this entry

Returns
Type Description
string
methodpublicgetCommentLink( ) : string

Returns a URI pointing to the HTML page where comments can be made on this entry

Returns
Type Description
string
methodpublicgetContent( ) : string

Get the entry content

Returns
Type Description
string
methodpublicgetDateCreated( ) : string

Get the entry's date of creation

Returns
Type Description
string
methodpublicgetDateModified( ) : string

Get the entry's date of modification

Returns
Type Description
string
methodpublicgetDescription( ) : string

Get the entry description

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

Get the entry element

Inherited from: \Zend_Feed_Reader_EntryAbstract::getElement()
Returns
Type Description
\DOMElement
methodpublicgetEnclosure( ) : string

Get the entry enclosure

Returns
Type Description
string
methodpublicgetEncoding( ) : string

Get the Entry's encoding

Inherited from: \Zend_Feed_Reader_EntryAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetExtension( string $name ) : \Zend_Feed_Reader_Extension_EntryAbstract

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

Inherited from: \Zend_Feed_Reader_EntryAbstract::getExtension()
Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicgetExtensions( ) : array

Get registered extensions

Inherited from: \Zend_Feed_Reader_EntryAbstract::getExtensions()
Returns
Type Description
array
methodpublicgetId( ) : string

Get the entry ID

Returns
Type Description
string
methodpublicgetLink( int $index = 0 ) : string

Get a specific link

Parameters
Name Type Description
$index int
Returns
Type Description
string
methodpublicgetLinks( ) : array

Get all links

Returns
Type Description
array
methodpublicgetPermalink( ) : string

Get a permalink to the entry

Returns
Type Description
string
methodpublicgetTitle( ) : string

Get the entry title

Returns
Type Description
string
methodpublicgetType( ) : string

Get the entry type

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

Get the XPath query object

Inherited from: \Zend_Feed_Reader_EntryAbstract::getXpath()
Returns
Type Description
\DOMXPath
methodpublicsaveXml( ) : string

Get entry as xml

Inherited from: \Zend_Feed_Reader_EntryAbstract::saveXml()
Returns
Type Description
string
methodpublicsetXpath( \DOMXPath $xpath ) : \Zend_Feed_Reader_Entry_EntryAbstract

Set the XPath query (incl. on all Extensions)

Parameters
Name Type Description
$xpath \DOMXPath
Returns
Type Description
\Zend_Feed_Reader_Entry_EntryAbstract
Documentation was generated by DocBlox 0.13.3.