API Documentation

Feed/Reader/EntryAbstract.php

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: EntryAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Feed_Reader_EntryAbstract

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_EntryAbstract

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
$_entry
$_entryKey
$_xpath
$_extensions
Methods
__construct
getDomDocument
getElement
getEncoding
saveXml
getType
getXpath
setXpath
getExtensions
getExtension
__call
_loadExtensions

Description

Properties

$_data

array $_data = 'array'

Feed entry data

Details

$_data
array
visibility
protected
default
array
final
false
static
false

$_domDocument

DOMDocument $_domDocument = 'null'

DOM document object

Details

$_domDocument
DOMDocument
visibility
protected
default
null
final
false
static
false

$_entry

Zend_Feed_Entry_Interface $_entry = 'null'

Entry instance

Details

$_entry
Zend_Feed_Entry_Interface
visibility
protected
default
null
final
false
static
false

$_entryKey

int $_entryKey = '0'

Pointer to the current entry

Details

$_entryKey
int
visibility
protected
default
0
final
false
static
false

$_extensions

array $_extensions = 'array'

Registered extensions

Details

$_extensions
array
visibility
protected
default
array
final
false
static
false

$_xpath

DOMXPath $_xpath = 'null'

XPath object

Details

$_xpath
DOMXPath
visibility
protected
default
null
final
false
static
false

Methods

__call

__call( string $method, array $args ) : mixed

Method overloading: call given method on first extension implementing it

Arguments
$method
string
$args
array
Output
mixed
Details
visibility
public
final
false
static
false
throws
if no extensions implements the method

__construct

__construct( DOMElement $entry, int $entryKey, string $type = null ) : void

Constructor

Arguments
$entry
DOMElement
$entryKey
int
$type
string
Details
visibility
public
final
false
static
false

_loadExtensions

_loadExtensions( ) : void

Load extensions from Zend_Feed_Reader

Details
visibility
protected
final
false
static
false

getDomDocument

getDomDocument( ) : DOMDocument

Get the DOM

Output
DOMDocument
Details
visibility
public
final
false
static
false

getElement

getElement( ) : DOMElement

Get the entry element

Output
DOMElement
Details
visibility
public
final
false
static
false

getEncoding

getEncoding( ) : string

Get the Entry's encoding

Output
string
Details
visibility
public
final
false
static
false

getExtension

getExtension( string $name ) : Zend_Feed_Reader_Extension_EntryAbstract

Return an Extension object with the matching name (postfixed with _Entry)

Arguments
$name
string
Details
visibility
public
final
false
static
false

getExtensions

getExtensions( ) : array

Get registered extensions

Output
array
Details
visibility
public
final
false
static
false

getType

getType( ) : string

Get the entry type

Output
string
Details
visibility
public
final
false
static
false

getXpath

getXpath( ) : DOMXPath

Get the XPath query object

Output
DOMXPath
Details
visibility
public
final
false
static
false

saveXml

saveXml( ) : string

Get entry as xml

Output
string
Details
visibility
public
final
false
static
false

setXpath

setXpath( DOMXPath $xpath ) : Zend_Feed_Reader_Entry_EntryAbstract

Set the XPath query

Arguments
$xpath
DOMXPath
Output
Zend_Feed_Reader_Entry_EntryAbstract
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.