API Documentation

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

\Zend_Feed_Reader_EntryAbstract

Package: Zend\Feed\Reader

Children
\Zend_Feed_Reader_Entry_Rss
\Zend_Feed_Reader_Entry_Atom
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_data= 'array()'

Feed entry data

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

DOM document object

Default valuenullDetails
Type
\DOMDocument
Propertyprotected\Zend_Feed_Entry_Interface  $_entry= 'null'

Entry instance

Default valuenullDetails
Type
\Zend_Feed_Entry_Interface
Propertyprotectedint  $_entryKey= '0'

Pointer to the current entry

Default value0Details
Type
int
Propertyprotectedarray  $_extensions= 'array()'

Registered extensions

Default valuearray()Details
Type
array
Propertyprotected\DOMXPath  $_xpath= 'null'

XPath object

Default valuenullDetails
Type
\DOMXPath

Methods

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

Method overloading: call given method on first extension implementing it

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
Throws
Exception Description
\Zend_Feed_Exception if no extensions implements the method
methodpublic__construct( \DOMElement $entry, int $entryKey, string $type = null ) : void

Constructor

Parameters
Name Type Description
$entry \DOMElement
$entryKey int
$type string
methodprotected_loadExtensions( ) : void

Load extensions from Zend_Feed_Reader

methodpublicgetDomDocument( ) : \DOMDocument

Get the DOM

Returns
Type Description
\DOMDocument
methodpublicgetElement( ) : \DOMElement

Get the entry element

Returns
Type Description
\DOMElement
methodpublicgetEncoding( ) : string

Get the Entry's encoding

Returns
Type Description
string
methodpublicgetExtension( string $name ) : \Zend_Feed_Reader_Extension_EntryAbstract

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

Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicgetExtensions( ) : array

Get registered extensions

Returns
Type Description
array
methodpublicgetType( ) : string

Get the entry type

Returns
Type Description
string
methodpublicgetXpath( ) : \DOMXPath

Get the XPath query object

Returns
Type Description
\DOMXPath
methodpublicsaveXml( ) : string

Get entry as xml

Returns
Type Description
string
methodpublicsetXpath( \DOMXPath $xpath ) : \Zend_Feed_Reader_Entry_EntryAbstract

Set the XPath query

Parameters
Name Type Description
$xpath \DOMXPath
Returns
Type Description
\Zend_Feed_Reader_Entry_EntryAbstract
Documentation was generated by DocBlox 0.15.1.