Testing testing..............my emails don't get received or something?
Julian Davchev wrote:
> Well once you have the view inside your view helper you just use any
> other helper the usual way.
> Add those to your helper and system will automatically assign the $view
> object on init so you can use it.
> And from then on you do $this->view->someOtherHelper();
>
>
> public $view;
>
> /**
> * Set the view object
> *
> * @param Zend_View_Interface $view
> * @return void
> */
> public function setView(Zend_View_Interface $view)
> {
> $this->view = $view;
> }
>
>
>
> johannesf wrote:
>
>> Hi
>>
>> I have been struggling for a while now on this topic.
>>
>> The question is: How do I call a view helper from some other view helper?
>>
>> Very happy for some advice!
>>
>> / johannes - sweden
>>
>>
>>
>
>
>