Feed/Reader/Entry/Atom.php

Show: PublicProtectedPrivateinherited
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 24593 2012-01-05 20:35:02Z 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

>VPropertyprotectedarray $_data = array()
inherited
Feed entry data
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_data
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_data  
>VPropertyprotected\DOMDocument $_domDocument = null
inherited
DOM document object
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_domDocument
Default valuenullDetails
Type
\DOMDocument
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_domDocument  
>VPropertyprotected\Zend_Feed_Entry_Interface $_entry = null
inherited
Entry instance
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_entry
Default valuenullDetails
Type
\Zend_Feed_Entry_Interface
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_entry  
>VPropertyprotectedint $_entryKey = 0
inherited
Pointer to the current entry
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_entryKey
Default value0Details
Type
int
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_entryKey  
>VPropertyprotectedarray $_extensions = array()
inherited
Registered extensions
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_extensions
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_extensions  
>VPropertyprotected\DOMXPath $_xpath = null
inherited
XPath object
Inherited from: \Zend_Feed_Reader_EntryAbstract::$$_xpath
Default valuenullDetails
Type
\DOMXPath
Inherited_from
\Zend_Feed_Reader_EntryAbstract::$$_xpath  
>VPropertyprotectedstring $_xpathQuery = ''
XPath query
Default value''Details
Type
string

Methods

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

Method overloading: call given method on first extension implementing it

Inherited from: \Zend_Feed_Reader_EntryAbstract::__call()
Parameters
NameTypeDescription
$methodstring
$argsarray
Returns
TypeDescription
mixed
Throws
ExceptionDescription
\Zend_Feed_Exceptionif no extensions implements the method
methodpublic__construct(\DOMElement $entry, int $entryKey, string $type = null) : void

Constructor

Parameters
NameTypeDescription
$entry\DOMElement
$entryKeyint
$typestring
methodprotected_loadExtensions() : void
inherited

Load extensions from Zend_Feed_Reader

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

Get the specified author

Parameters
NameTypeDescription
$indexint
Returns
TypeDescription
string | null
methodpublicgetAuthors() : array

Get an array with feed authors

Returns
TypeDescription
array
methodpublicgetCategories() : \Zend_Feed_Reader_Collection_Category

Get category data as a Zend_Feed_Reader_Collection_Category object

methodpublicgetCommentCount() : integer

Get the number of comments/replies for current entry

Returns
TypeDescription
integer
methodpublicgetCommentFeedLink() : string

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

Returns
TypeDescription
string
methodpublicgetCommentLink() : string

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

Returns
TypeDescription
string
methodpublicgetContent() : string

Get the entry content

Returns
TypeDescription
string
methodpublicgetDateCreated() : string

Get the entry creation date

Returns
TypeDescription
string
methodpublicgetDateModified() : string

Get the entry modification date

Returns
TypeDescription
string
methodpublicgetDescription() : string

Get the entry description

Returns
TypeDescription
string
methodpublicgetDomDocument() : \DOMDocument
inherited

Get the DOM

Inherited from: \Zend_Feed_Reader_EntryAbstract::getDomDocument()
Returns
TypeDescription
\DOMDocument
methodpublicgetElement() : \DOMElement
inherited

Get the entry element

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

Get the entry enclosure

Returns
TypeDescription
string
methodpublicgetEncoding() : string
inherited

Get the Entry's encoding

Inherited from: \Zend_Feed_Reader_EntryAbstract::getEncoding()
Returns
TypeDescription
string
methodpublicgetExtension(string $name) : \Zend_Feed_Reader_Extension_EntryAbstract
inherited

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

Inherited from: \Zend_Feed_Reader_EntryAbstract::getExtension()
Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicgetExtensions() : array
inherited

Get registered extensions

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

Get the entry ID

Returns
TypeDescription
string
methodpublicgetLink(int $index = 0) : string

Get a specific link

Parameters
NameTypeDescription
$indexint
Returns
TypeDescription
string
methodpublicgetLinks() : array

Get all links

Returns
TypeDescription
array
methodpublicgetPermalink() : string

Get a permalink to the entry

Returns
TypeDescription
string
methodpublicgetSource() : \Zend_Feed_Reader_Feed_Atom_Source | null

Get source feed metadata from the entry

Returns
TypeDescription
\Zend_Feed_Reader_Feed_Atom_Source | null
methodpublicgetTitle() : string

Get the entry title

Returns
TypeDescription
string
methodpublicgetType() : string
inherited

Get the entry type

Inherited from: \Zend_Feed_Reader_EntryAbstract::getType()
Returns
TypeDescription
string
methodpublicgetXpath() : \DOMXPath
inherited

Get the XPath query object

Inherited from: \Zend_Feed_Reader_EntryAbstract::getXpath()
Returns
TypeDescription
\DOMXPath
methodpublicsaveXml() : string
inherited

Get entry as xml

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

Set the XPath query (incl.

on all Extensions)

Parameters
NameTypeDescription
$xpath\DOMXPath
Returns
TypeDescription
\Zend_Feed_Reader_Entry_EntryAbstract
Documentation was generated by phpDocumentor 2.0.0a12.