API Documentation

Feed/Reader/Extension/FeedAbstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Reader
version
$Id: FeedAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Feed_Reader_Extension_FeedAbstract

Description

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.

Zend_Feed_Reader_Extension_FeedAbstract

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Reader
Properties
$_data
$_domDocument
$_xpath
$_xpathPrefix
Methods
__construct
getDomDocument
getEncoding
getType
toArray
setXpath
getXpath
getXpathPrefix
setXpathPrefix
_registerNamespaces

Description

Properties

$_data

array $_data = 'array'

Parsed feed data

Details

$_data
array
visibility
protected
default
array
final
false
static
false

$_domDocument

DOMDocument $_domDocument = 'null'

Parsed feed data in the shape of a DOMDocument

Details

$_domDocument
DOMDocument
visibility
protected
default
null
final
false
static
false

$_xpath

DOMXPath $_xpath = 'null'

The base XPath query used to retrieve feed data

Details

$_xpath
DOMXPath
visibility
protected
default
null
final
false
static
false

$_xpathPrefix

string $_xpathPrefix = ''

The XPath prefix

Details

$_xpathPrefix
string
visibility
protected
default
final
false
static
false

Methods

__construct

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

Constructor

Arguments
$dom
$type
string
Feed type
$xpath
Details
visibility
public
final
false
static
false

_registerNamespaces

_registerNamespaces( ) :

Register the default namespaces for the current feed format

Details
visibility
protected
final
false
static
false

getDomDocument

getDomDocument( ) : DOMDocument

Get the DOM

Output
DOMDocument
Details
visibility
public
final
false
static
false

getEncoding

getEncoding( ) : string

Get the Feed's encoding

Output
string
Details
visibility
public
final
false
static
false

getType

getType( ) : string

Get the feed type

Output
string
Details
visibility
public
final
false
static
false

getXpath

getXpath( ) : string

Get the DOMXPath object

Output
string
Details
visibility
public
final
false
static
false

getXpathPrefix

getXpathPrefix( ) : string

Get the XPath prefix

Output
string
Details
visibility
public
final
false
static
false

setXpath

setXpath( DOMXPath $xpath ) : Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath query

Arguments
$xpath
DOMXPath
Details
visibility
public
final
false
static
false

setXpathPrefix

setXpathPrefix(  $prefix ) : Zend_Feed_Reader_Feed_Atom

Set the XPath prefix

Arguments
$prefix
Details
visibility
public
final
false
static
false

toArray

toArray( ) : array

Return the feed as an array

Output
array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.