Re: [fw-general] Re: Registering an object to work through out the entire views scripts

2009-03-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a translate view helper which you may want to look at. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : :...

[fw-general] Re: Registering an object to work through out the entire views scripts

2009-03-10 Thread vadim gavrilov
Problem: Inside a controller i use: echo $this->lang->_('RE0'); where $this->lang is the zend_translate_adapter and it prints what it should "wefef" inside a view script i do the same thing: lang->_('RE0'); ?> and it prints 'RE0' ? Any idea why this will work in the controller class but not insi

[fw-general] Re: Registering an object to work through out the entire views scripts

2009-03-10 Thread vadim gavrilov
Ahh never mind just saw the assign method. Thanks. On Tue, Mar 10, 2009 at 10:56 AM, vadim gavrilov wrote: > If i have an object $lang that i use as $this->lang within a class scope, > How would i add it to the registry/anywhere to be able to use the same > object $this->lang inside views scrip