API Documentation

Zend/Feed/Reader/Entry/Atom.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Reader  
Version
$Id: Atom.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Feed_Reader_Entry_Atom

Package: Zend\Feed\Reader

Implements
\Zend_Feed_Reader_EntryInterface
Parent(s)
\Zend_Feed_Reader_EntryAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_xpathQuery= ''''

XPath query

Default value''Details
Type
string

Methods

methodpublic__construct( \DOMElement $entry, int $entryKey, string $type = null ) : void

Constructor

Parameters
Name Type Description
$entry \DOMElement
$entryKey int
$type string
methodpublicgetAuthor( int $index = 0 ) : string|null

Get the specified author

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

Get an array with feed authors

Returns
Type Description
array
methodpublicgetCategories( ) : \Zend_Feed_Reader_Collection_Category

Get category data as a Zend_Feed_Reader_Collection_Category object

Returns
Type Description
\Zend_Feed_Reader_Collection_Category
methodpublicgetCommentCount( ) : integer

Get the number of comments/replies for current entry

Returns
Type Description
integer
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 creation date

Returns
Type Description
string
methodpublicgetDateModified( ) : string

Get the entry modification date

Returns
Type Description
string
methodpublicgetDescription( ) : string

Get the entry description

Returns
Type Description
string
methodpublicgetEnclosure( ) : string

Get the entry enclosure

Returns
Type Description
string
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
methodpublicgetSource( ) : \Zend_Feed_Reader_Feed_Atom_Source|null

Get source feed metadata from the entry

Returns
Type Description
\Zend_Feed_Reader_Feed_Atom_Source|null
methodpublicgetTitle( ) : string

Get the entry title

Returns
Type Description
string
methodpublicsetXpath( \DOMXPath $xpath ) : void

Set the XPath query (incl. on all Extensions)

Parameters
Name Type Description
$xpath \DOMXPath
Documentation was generated by DocBlox 0.15.1.