-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There is a translate view helper which you may want to look at.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:...
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
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