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.

__construct(
\Zend_Feed_Entry_Abstract $entry, int $entryKey, string $type
=
null
)
:
void
Constructor
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::__construct()Name | Type | Description |
---|---|---|
$entry | \Zend_Feed_Entry_Abstract | |
$entryKey | int | |
$type | string |

_absolutiseUri(
$link
)
:
void
Attempt to absolutise the URI, i.e. if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.
Name | Type | Description |
---|---|---|
$link |

_collectXhtml(
$xhtml, $prefix
)
:
void
Parse out XHTML to remove the namespacing
Name | Type | Description |
---|---|---|
$xhtml | ||
$prefix |

getAuthor(
int $index
=
0
)
:
string|null
Get the specified author
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
stringnull |

getBaseUrl(
)
:
string|null
Get the base URI of the feed (if set).
Type | Description |
---|---|
stringnull |

getCategories(
)
:
\Zend_Feed_Reader_Collection_Category
Get all categories
Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |

getCommentCount(
)
:
integer
Get the number of comments/replies for current entry
Type | Description |
---|---|
integer |

getCommentFeedLink(
$type
=
atom
)
:
string
Returns a URI pointing to a feed of all comments for this entry
Name | Type | Description |
---|---|---|
$type |
Type | Description |
---|---|
string |

getCommentLink(
)
:
string
Returns a URI pointing to the HTML page where comments can be made on this entry
Type | Description |
---|---|
string |

getDomDocument(
)
:
\DOMDocument
Get the DOM
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getDomDocument()Type | Description |
---|---|
\DOMDocument |

getEncoding(
)
:
string
Get the Entry's encoding
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getEncoding()Type | Description |
---|---|
string |

getLink(
int $index
=
0
)
:
string
Get a specific link
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string |

getSource(
)
:
\Zend_Feed_Reader_Feed_Atom_Source|null
Get source feed metadata from the entry
Type | Description |
---|---|
\Zend_Feed_Reader_Feed_Atom_Sourcenull |

getType(
)
:
string
Get the entry type
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getType()Type | Description |
---|---|
string |

getXpath(
)
:
\DOMXPath
Get the XPath query object
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getXpath()Type | Description |
---|---|
\DOMXPath |

getXpathPrefix(
)
:
string
Get the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getXpathPrefix()Type | Description |
---|---|
string |

setXpath(
\DOMXPath $xpath
)
:
\Zend_Feed_Reader_Extension_EntryAbstract
Set the XPath query
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::setXpath()Name | Type | Description |
---|---|---|
$xpath | \DOMXPath |
Type | Description |
---|---|
\Zend_Feed_Reader_Extension_EntryAbstract |

setXpathPrefix(
string $prefix
)
:
\Zend_Feed_Reader_Extension_EntryAbstract
Set the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::setXpathPrefix()Name | Type | Description |
---|---|---|
$prefix | string |
Type | Description |
---|---|
\Zend_Feed_Reader_Extension_EntryAbstract |

toArray(
)
:
array
Serialize the entry to an array
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::toArray()Type | Description |
---|---|
array |