Re: How to get the SET variable in Helper page?

2007-04-10 Thread Brade
I needed this big-time. Thanks for the goods. On Mar 28, 1:03 pm, "cc96ai" <[EMAIL PROTECTED]> wrote: > $this->view->viewVars['test'] > > it works now > :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: How to get the SET variable in Helper page?

2007-03-28 Thread cc96ai
$this->view->viewVars['test'] it works now :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: How to get the SET variable in Helper page?

2007-03-28 Thread cc96ai
Thx for reply. I tried, but its NOT working :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: How to get the SET variable in Helper page?

2007-03-28 Thread francky06l
In an helper you can do $this->view->test (I think ...) On Mar 28, 4:37 pm, "cc96ai" <[EMAIL PROTECTED]> wrote: > I set a variable in controller page > > $this->set('test', 'test'); > > In View , i can get the variable > > but > in custom helper page > I try to get to do > print $test. which is

How to get the SET variable in Helper page?

2007-03-28 Thread cc96ai
I set a variable in controller page $this->set('test', 'test'); In View , i can get the variable but in custom helper page I try to get to do print $test. which is not working any idea how can i get it ? or I MUST pass it through parameter ? in View $myHelper->link($test, ); Helper func