API Documentation

Zend/Feed/Reader/Extension/EntryAbstract.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: EntryAbstract.php 24594 2012-01-05 21:27:01Z matthew $  

\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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_data= 'array()'

Feed entry data

Default valuearray()Details
Type
array
Propertyprotected\DOMDocument  $_domDocument= 'null'

DOM document object

Default valuenullDetails
Type
\DOMDocument
Propertyprotected\Zend_Feed_Entry_Abstract  $_entry= 'null'

Entry instance

Default valuenullDetails
Type
\Zend_Feed_Entry_Abstract
Propertyprotectedint  $_entryKey= '0'

Pointer to the current entry

Default value0Details
Type
int
Propertyprotected\DOMXPath  $_xpath= 'null'

XPath object

Default valuenullDetails
Type
\DOMXPath
Propertyprotectedstring  $_xpathPrefix= ''''

XPath query

Default value''Details
Type
string

Methods

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

Constructor

Parameters
Name Type Description
$entry \Zend_Feed_Entry_Abstract
$entryKey int
$type string
methodprotected_registerNamespaces( ) : void
abstract

Register XML namespaces

methodpublicgetDomDocument( ) : \DOMDocument

Get the DOM

Returns
Type Description
\DOMDocument
methodpublicgetEncoding( ) : string

Get the Entry's encoding

Returns
Type Description
string
methodpublicgetType( ) : string

Get the entry type

Returns
Type Description
string
methodpublicgetXpath( ) : \DOMXPath

Get the XPath query object

Returns
Type Description
\DOMXPath
methodpublicgetXpathPrefix( ) : string

Get the XPath prefix

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

Set the XPath query

Parameters
Name Type Description
$xpath \DOMXPath
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicsetXpathPrefix( string $prefix ) : \Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath prefix

Parameters
Name Type Description
$prefix string
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublictoArray( ) : array

Serialize the entry to an array

Returns
Type Description
array
Documentation was generated by DocBlox 0.15.1.