Feed/Reader/Extension/DublinCore/Feed.php

Show: PublicProtectedPrivateinherited
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: Feed.php 25024 2012-07-30 15:08:15Z rob $  

\Zend_Feed_Reader_Extension_DublinCore_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

>VPropertyprotectedarray $_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  
>VPropertyprotected\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  
>VPropertyprotected\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  
>VPropertyprotectedstring $_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
Parameters
NameTypeDescription
$dom
$typestring

Feed type

$xpath
methodprotected_registerNamespaces() : void

Register the default namespaces for the current feed format

methodpublicgetAuthor(int $index = 0) : string | null

Get a single author

Parameters
NameTypeDescription
$indexint
Returns
TypeDescription
string | null
methodpublicgetAuthors() : array

Get an array with feed authors

Returns
TypeDescription
array
methodpublicgetCategories() : \Zend_Feed_Reader_Collection_Category

Get categories (subjects under DC)

methodpublicgetCopyright() : string | null

Get the copyright entry

Returns
TypeDescription
string | null
methodpublicgetDate() : \Zend_Date | null

Returns
TypeDescription
\Zend_Date | null
methodpublicgetDescription() : string | null

Get the feed description

Returns
TypeDescription
string | null
methodpublicgetDomDocument() : \DOMDocument
Returns
TypeDescription
\DOMDocument
methodpublicgetEncoding() : string
inherited

Get the Feed's encoding

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getEncoding()
Returns
TypeDescription
string
methodpublicgetId() : string | null

Get the feed ID

Returns
TypeDescription
string | null
methodpublicgetLanguage() : string | null

Get the feed language

Returns
TypeDescription
string | null
methodpublicgetTitle() : string | null

Get the feed title

Returns
TypeDescription
string | null
methodpublicgetType() : string
inherited

Get the feed type

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getType()
Returns
TypeDescription
string
methodpublicgetXpath() : string
inherited

Get the DOMXPath object

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

Get the XPath prefix

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

Set the XPath query

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::setXpath()
Parameters
NameTypeDescription
$xpath\DOMXPath
Returns
TypeDescription
\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
NameTypeDescription
$prefix
Returns
TypeDescription
\Zend_Feed_Reader_Feed_Atom
methodpublictoArray() : array
inherited

Return the feed as an array

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::toArray()
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.0.0a12.