Details
Description
I would render this code
<link href="/mydocument.pdf" rel="alternate" type="application/pdf" title="foo" media="print"/>
But with this code
$this->headLink()->setAlternate('/mydocument.pdf', "application/pdf", "foo")
I'm able to render only
<link href="/mydocument.pdf" rel="alternate" type="application/pdf" title="foo"/>
Why not add an extra parameter like $extras to do things like this?
$this->headLink()->setAlternate('/mydocument.pdf', "application/pdf", "foo", array('media'=>'print'))
Issue Links
| This issue is related to: | ||||
| ZF-4902 | Cannot add 'id' attribute to a link when using the HeadLink helper |
|
|
|
Scheduling for next minor release (new functionality)