API Documentation

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

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

Properties

Propertyprotectedarray  $_data= 'array()'

Parsed feed data

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

Parsed feed data in the shape of a DOMDocument

Default valuenullDetails
Type
\DOMDocument
Propertyprotected\DOMXPath  $_xpath= 'null'

The base XPath query used to retrieve feed data

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

The XPath prefix

Default value''Details
Type
string

Methods

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

Constructor

Parameters
Name Type Description
$dom
$type string

Feed type

$xpath
methodprotected_registerNamespaces( ) : void
abstract

Register the default namespaces for the current feed format

methodpublicgetDomDocument( ) : \DOMDocument

Get the DOM

Returns
Type Description
\DOMDocument
methodpublicgetEncoding( ) : string

Get the Feed's encoding

Returns
Type Description
string
methodpublicgetType( ) : string

Get the feed type

Returns
Type Description
string
methodpublicgetXpath( ) : string

Get the DOMXPath object

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

Set the XPath prefix

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

Return the feed as an array

Returns
Type Description
array
Documentation was generated by DocBlox 0.15.1.