Feed/Reader/EntryAbstract.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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Reader  
Version
$Id$  

\Zend_Feed_Reader_EntryAbstract

Package: Zend_Feed_Reader
Children
\Zend_Feed_Reader_Entry_Rss
\Zend_Feed_Reader_Entry_Atom
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_data = array()
Feed entry data
Default valuearray()Details
Type
array
>VPropertyprotected\DOMDocument $_domDocument = null
DOM document object
Default valuenullDetails
Type
\DOMDocument
>VPropertyprotected\Zend_Feed_Entry_Interface $_entry = null
Entry instance
Default valuenullDetails
Type
\Zend_Feed_Entry_Interface
>VPropertyprotectedint $_entryKey = 0
Pointer to the current entry
Default value0Details
Type
int
>VPropertyprotectedarray $_extensions = array()
Registered extensions
Default valuearray()Details
Type
array
>VPropertyprotected\DOMXPath $_xpath = null
XPath object
Default valuenullDetails
Type
\DOMXPath

Methods

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

Method overloading: call given method on first extension implementing it

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

Constructor

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

Load extensions from Zend_Feed_Reader

methodpublicgetDomDocument() : \DOMDocument

Get the DOM

Returns
TypeDescription
\DOMDocument
methodpublicgetElement() : \DOMElement

Get the entry element

Returns
TypeDescription
\DOMElement
methodpublicgetEncoding() : string

Get the Entry's encoding

Returns
TypeDescription
string
methodpublicgetExtension(string $name) : \Zend_Feed_Reader_Extension_EntryAbstract

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

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicgetExtensions() : array

Get registered extensions

Returns
TypeDescription
array
methodpublicgetType() : string

Get the entry type

Returns
TypeDescription
string
methodpublicgetXpath() : \DOMXPath

Get the XPath query object

Returns
TypeDescription
\DOMXPath
methodpublicsaveXml() : string

Get entry as xml

Returns
TypeDescription
string
methodpublicsetXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Entry_EntryAbstract

Set the XPath query

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