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: <?php echo
$this->lang->_('RE0'); ?> and it prints 'RE0' ? Any idea why this will work
in the controller class but not inside a view?
Thanks.
On Tue, Mar 10, 2009 at 10:57 AM, vadim gavrilov <[email protected]> wrote:
> Ahh never mind just saw the assign method.
>
> Thanks.
>
>
> On Tue, Mar 10, 2009 at 10:56 AM, vadim gavrilov <[email protected]>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 scripts ?
>>
>> Thanks.
>>
>> --
>> Vincent Gabriel.
>> Lead Developer, Senior Support.
>> Zend Certified Engineer.
>>
>>
>>
>>
>>
>
>
> --
> Vincent Gabriel.
> Lead Developer, Senior Support.
> Zend Certified Engineer.
>
>
>
>
>
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.