API Documentation

Feed/Reader/Extension/DublinCore/Entry.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: Entry.php 23953 2011-05-03 05:47:39Z ralph $  

\Zend_Feed_Reader_Extension_DublinCore_Entry

Extends from
\Zend_Feed_Reader_Extension_EntryAbstract
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( \Zend_Feed_Entry_Abstract $entry, int $entryKey, string $type = null ) : void
Parameters
Name Type Description
$entry \Zend_Feed_Entry_Abstract
$entryKey int
$type string
methodprotected_registerNamespaces( ) : void

Register DC namespaces

methodpublicgetAuthor(  $index = 0 ) : string

Get an author entry

Parameters
Name Type Description
$index
Returns
Type Description
string
methodpublicgetAuthors( ) : array

Get an array with feed authors

Returns
Type Description
array
methodpublicgetCategories( ) : \Zend_Feed_Reader_Collection_Category

Get categories (subjects under DC)

Returns
Type Description
\Zend_Feed_Reader_Collection_Category
methodpublicgetContent( ) : string

Get the entry content

Returns
Type Description
string
methodpublicgetDate( ) : \Zend_Date|null

Returns
Type Description
\Zend_Datenull
methodpublicgetDescription( ) : string

Get the entry description

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

Get the Entry's encoding

Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetId( ) : string

Get the entry ID

Returns
Type Description
string
methodpublicgetTitle( ) : string

Get the entry title

Returns
Type Description
string
methodpublicgetType( ) : string

Get the entry type

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

Get the XPath query object

Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getXpath()
Returns
Type Description
\DOMXPath
methodpublicgetXpathPrefix( ) : string
Returns
Type Description
string
methodpublicsetXpath( \DOMXPath $xpath ) : \Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath query

Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::setXpath()
Parameters
Name Type Description
$xpath \DOMXPath
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublicsetXpathPrefix( string $prefix ) : \Zend_Feed_Reader_Extension_EntryAbstract
Parameters
Name Type Description
$prefix string
Returns
Type Description
\Zend_Feed_Reader_Extension_EntryAbstract
methodpublictoArray( ) : array

Serialize the entry to an array

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