Zend_Feed_Entry_Atom::link
Easy access to <link> tags keyed by "rel" attributes.
If $elt->link() is called with no arguments, we will attempt to return the value of the <link> tag(s) like all other method-syntax attribute access. If an argument is passed to link(), however, then we will return the "href" value of the first <link> tag that has a "rel" attribute matching $rel: $elt->link(): returns the value of the link tag. $elt->link('self'): returns the href from the first <link rel="self"> in the entry.
Signature
public function link([string
$rel = NULL] )
Parameters
$rel
— string- The "rel" attribute to look for.
Returns
- mixed