so wanted to separate this logic out of my layout scripts.
I thought that I could simply extend the Zend_View helper and return an
instance of my custom class but this didn't seem to work and so I just
extended Zend_View_Helper_Abstract. The problem with this is that I end up
with calls to both $this->head() (my custom view helper) and
$this->headLink() in my layout scripts. Instead I would simply like to be
able to call $this->headLink().
Is a custom view helper not the way to go here since this is a placeholder
(I haven't really wrapped my head around placeholders just yet). Thanks!
--
View this message in context: http://www.nabble.com/Extending-View-Helpers-tp20534060p20534060.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论