Feed/Reader/Extension/FeedAbstract.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_FeedAbstract

Package: Zend_Feed_Reader
Children
\Zend_Feed_Reader_Extension_Podcast_Feed
\Zend_Feed_Reader_Extension_CreativeCommons_Feed
\Zend_Feed_Reader_Extension_Syndication_Feed
\Zend_Feed_Reader_Extension_DublinCore_Feed
\Zend_Feed_Reader_Extension_Atom_Feed
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_data = array()
Parsed feed data
Default valuearray()Details
Type
array
>VPropertyprotected\DOMDocument $_domDocument = null
Parsed feed data in the shape of a DOMDocument
Default valuenullDetails
Type
\DOMDocument
>VPropertyprotected\DOMXPath $_xpath = null
The base XPath query used to retrieve feed data
Default valuenullDetails
Type
\DOMXPath
>VPropertyprotectedstring $_xpathPrefix = ''
The XPath prefix
Default value''Details
Type
string

Methods

methodpublic__construct( $dom, string $type = null,  $xpath = null) : void

Constructor

Parameters
NameTypeDescription
$dom
$typestring

Feed type

$xpath
methodprotected_registerNamespaces() : void
abstract

Register the default namespaces for the current feed format

methodpublicgetDomDocument() : \DOMDocument

Get the DOM

Returns
TypeDescription
\DOMDocument
methodpublicgetEncoding() : string

Get the Feed's encoding

Returns
TypeDescription
string
methodpublicgetType() : string

Get the feed type

Returns
TypeDescription
string
methodpublicgetXpath() : string

Get the DOMXPath object

Returns
TypeDescription
string
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( $prefix) : \Zend_Feed_Reader_Feed_Atom

Set the XPath prefix

Parameters
NameTypeDescription
$prefix
Returns
TypeDescription
\Zend_Feed_Reader_Feed_Atom
methodpublictoArray() : array

Return the feed as an array

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .