3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Feed\Reader\Extension\WellFormedWeb
;
12 use Zend\Feed\Reader\Extension
;
16 class Entry
extends Extension\AbstractEntry
19 * Get the entry comment Uri
23 public function getCommentFeedLink()
26 if (array_key_exists($name, $this->data
)) {
27 return $this->data
[$name];
30 $data = $this->xpath
->evaluate('string(' . $this->getXpathPrefix() . '/wfw:' . $name . ')');
36 $this->data
[$name] = $data;
42 * Register Slash namespaces
46 protected function registerNamespaces()
48 $this->xpath
->registerNamespace('wfw', 'http://wellformedweb.org/CommentAPI/');