Feed/Reader/Extension/Syndication/Feed.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 [email protected] 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: Feed.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Feed_Reader_Extension_Syndication_Feed

Package: Zend\Feed\Reader

Parent(s)
\Zend_Feed_Reader_Extension_FeedAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray $_data = array()
inherited

Parsed feed data

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_data
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_Extension_FeedAbstract::$$_data  
Propertyprotected\DOMDocument $_domDocument = null
inherited

Parsed feed data in the shape of a DOMDocument

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_domDocument
Default valuenullDetails
Type
\DOMDocument
Inherited_from
\Zend_Feed_Reader_Extension_FeedAbstract::$$_domDocument  
Propertyprotected\DOMXPath $_xpath = null
inherited

The base XPath query used to retrieve feed data

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_xpath
Default valuenullDetails
Type
\DOMXPath
Inherited_from
\Zend_Feed_Reader_Extension_FeedAbstract::$$_xpath  
Propertyprotectedstring $_xpathPrefix = ''
inherited

The XPath prefix

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_xpathPrefix
Default value''Details
Type
string
Inherited_from
\Zend_Feed_Reader_Extension_FeedAbstract::$$_xpathPrefix  

Methods

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

Constructor

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::__construct()
Parameters
Name Type Description
$dom
$type string

Feed type

$xpath
methodprivate_getData(string $name, string $type = 'string') : mixed | null

Get the entry data specified by name

Parameters
Name Type Description
$name string
$type string
Returns
Type Description
mixed | null
methodprotected_registerNamespaces() : void

Register Syndication namespaces

methodpublicgetDomDocument() : \DOMDocument
inherited

Get the DOM

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getDomDocument()
Returns
Type Description
\DOMDocument
methodpublicgetEncoding() : string
inherited

Get the Feed's encoding

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetType() : string
inherited

Get the feed type

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getType()
Returns
Type Description
string
methodpublicgetUpdateBase() : \Zend_Date | null

Get update base

Returns
Type Description
\Zend_Date | null
methodpublicgetUpdateFrequency() : int

Get update frequency

Returns
Type Description
int
methodpublicgetUpdateFrequencyAsTicks() : int

Get update frequency as ticks

Returns
Type Description
int
methodpublicgetUpdatePeriod() : string

Get update period

Returns
Type Description
string
methodpublicgetXpath() : string
inherited

Get the DOMXPath object

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getXpath()
Returns
Type Description
string
methodpublicgetXpathPrefix() : string
inherited

Get the XPath prefix

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getXpathPrefix()
Returns
Type Description
string
methodpublicsetXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Extension_EntryAbstract
inherited

Set the XPath query

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::setXpath()
Parameters
Name Type Description
$xpath \DOMXPath
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicsetXpathPrefix( $prefix) : \Zend_Feed_Reader_Feed_Atom
inherited

Set the XPath prefix

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::setXpathPrefix()
Parameters
Name Type Description
$prefix
Returns
Type Description
\Zend_Feed_Reader_Feed_Atom
methodpublictoArray() : array
inherited

Return the feed as an array

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::toArray()
Returns
Type Description
array
Documentation was generated by phpDocumentor 2.0.0a8.