Does this also work for headLink and Head Style? On Thu, Apr 29, 2010 at 8:32 PM, Hector Virgen <[email protected]> wrote:
> I prefer the application.ini approach. The simplest way would be to add > this line: > > resources.view[] = > > You can also specify some useful config options. Here is what I currently > use: > > resources.view.encoding = "UTF-8" > resources.view.doctype = "XHTML1_STRICT" > resources.view.basePath = APPLICATION_PATH "/views" > resources.view.helperPath.Default_View_Helper = APPLICATION_PATH > "/views/helpers" > resources.view.helperPath.ZendX_JQuery_View_Helper = > "ZendX/JQuery/View/Helper" > > -- > Hector > > > > On Thu, Apr 29, 2010 at 11:03 AM, greg606 <[email protected]> wrote: > >> >> Hi >> >> What's the most appropriorate way to initialize the view in the boostrap >> class? >> >> The documenation give two ways: >> 1. >> $this->bootstrap('View'); >> $view = $this->getResource('View'); >> 2. >> $view = new Zend_View(); >> >> Which one should be used? >> >> Thanks >> Greg >> -- >> View this message in context: >> http://zend-framework-community.634137.n4.nabble.com/The-proper-current-way-to-initialize-View-in-the-bootstrap-tp2075965p2075965.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> > > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489
