API Documentation

Feed/Reader/Extension/CreativeCommons/Feed.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  
version
$Id: Feed.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Feed_Reader_Extension_CreativeCommons_Feed

Extends from
\Zend_Feed_Reader_Extension_FeedAbstract
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  

Methods

methodpublic__construct(  $dom, string $type = null,  $xpath = null ) : void
Parameters
Name Type Description
$dom
$type string Feed type
$xpath
methodprotected_registerNamespaces( ) : void

Register Creative Commons namespaces

methodpublicgetDomDocument( ) : \DOMDocument
Returns
Type Description
\DOMDocument
methodpublicgetEncoding( ) : string

Get the Feed's encoding

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetLicense(  $index = 0 ) : string|null

Get the entry license

Parameters
Name Type Description
$index
Returns
Type Description
stringnull
methodpublicgetLicenses( ) : array

Get the entry licenses

Returns
Type Description
array
methodpublicgetType( ) : string

Get the feed type

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getType()
Returns
Type Description
string
methodpublicgetXpath( ) : string

Get the DOMXPath object

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

Get the XPath prefix

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

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

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

Return the feed as an array

Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::toArray()
Returns
Type Description
array
Documentation was generated by DocBlox 0.13.3.