Feed/Reader/Extension/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 license@zend.com 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_Extension_EntryAbstract

Package: Zend_Feed_Reader
Children
\Zend_Feed_Reader_Extension_Thread_Entry
\Zend_Feed_Reader_Extension_Content_Entry
\Zend_Feed_Reader_Extension_Podcast_Entry
\Zend_Feed_Reader_Extension_CreativeCommons_Entry
\Zend_Feed_Reader_Extension_Slash_Entry
\Zend_Feed_Reader_Extension_DublinCore_Entry
\Zend_Feed_Reader_Extension_WellFormedWeb_Entry
\Zend_Feed_Reader_Extension_Atom_Entry
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_Abstract $_entry = null
Entry instance
Default valuenullDetails
Type
\Zend_Feed_Entry_Abstract
>VPropertyprotectedint $_entryKey = 0
Pointer to the current entry
Default value0Details
Type
int
>VPropertyprotected\DOMXPath $_xpath = null
XPath object
Default valuenullDetails
Type
\DOMXPath
>VPropertyprotectedstring $_xpathPrefix = ''
XPath query
Default value''Details
Type
string

Methods

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

Constructor

Parameters
NameTypeDescription
$entry\Zend_Feed_Entry_Abstract
$entryKeyint
$typestring
methodprotected_registerNamespaces() : void
abstract

Register XML namespaces

methodpublicgetDomDocument() : \DOMDocument

Get the DOM

Returns
TypeDescription
\DOMDocument
methodpublicgetEncoding() : string

Get the Entry's encoding

Returns
TypeDescription
string
methodpublicgetType() : string

Get the entry type

Returns
TypeDescription
string
methodpublicgetXpath() : \DOMXPath

Get the XPath query object

Returns
TypeDescription
\DOMXPath
methodpublicgetXpathPrefix() : string

Get the XPath prefix

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

Set the XPath query

Parameters
NameTypeDescription
$xpath\DOMXPath
Returns
TypeDescription
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicsetXpathPrefix(string $prefix) : \Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath prefix

Parameters
NameTypeDescription
$prefixstring
Returns
TypeDescription
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublictoArray() : array

Serialize the entry to an array

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .