For those who've never used it I can only see two ways. The view helper runs
a container which is called by name inside the view helper so you can't sub
class it traditionally without changing the name in code.
Which would be the most efficient?
Extend ZendX_JQuery_View_Helper_JQuery and utilise the container myself
(although it's elements of the container I want to change to make it more
useful for me). Or do I set my own container in the registry which
ZendX_JQuery_View_Helper_JQuery will then pick up and use in place of it's
original container? I then subclass
ZendX_JQuery_View_Helper_JQuery_Container as I would normally.
The goal is to get the container setup for my apps and to not render the
javascript tags when using local scripts (as at the moment, for me anyway,
it renders the tags whether you need them or not).
Thanks
-----
Simon
http://www.ajb007.co.uk/
--
View this message in context: http://www.nabble.com/Subclassing-ZendX_JQuery-tp21785728p21785728.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论