Re: How to define a variable in Cakephp

2013-03-05 Thread Victor Musvibe
; >> jeremybu...@classoutfit.com> wrote: >> >> To pass a variable through to a view, simply do this in your controller >> function: >> >> $this->set('myVariableName', $variableValue); >> >> Then in your view you can refer to $variableV

Re: How to define a variable in Cakephp

2013-03-05 Thread Jeremy Burns | Class Outfit
utfit.com >> >> On 5 Mar 2013, at 10:59:50, Victor Musvibe wrote: >> >>> Hi Euromark >>> >>> I am the one who posted that. Was hoping to get a quicker response on the >>> cakephp group >>> >>> On Tue, Mar 5,

Re: How to define a variable in Cakephp

2013-03-05 Thread Victor Musvibe
: > > Hi Euromark > > I am the one who posted that. Was hoping to get a quicker response on the > cakephp group > > On Tue, Mar 5, 2013 at 12:57 PM, euromark wrote: > >> >> http://stackoverflow.com/questions/15221467/how-to-define-a-variable-in-cakephp >> >

Re: How to define a variable in Cakephp

2013-03-05 Thread Jeremy Burns | Class Outfit
;> >> I am the one who posted that. Was hoping to get a quicker response on the >> cakephp group >> >> On Tue, Mar 5, 2013 at 12:57 PM, euromark wrote: >> http://stackoverflow.com/questions/15221467/how-to-define-a-variable-in-cakephp >> >> >> Am Di

Re: How to define a variable in Cakephp

2013-03-05 Thread Marcus James
Instead of *var $view = 'Open';* Write this *public $view = 'Open';* -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this g

Re: How to define a variable in Cakephp

2013-03-05 Thread Jeremy Burns | Class Outfit
wrote: > Hi Euromark > > I am the one who posted that. Was hoping to get a quicker response on the > cakephp group > > On Tue, Mar 5, 2013 at 12:57 PM, euromark wrote: > http://stackoverflow.com/questions/15221467/how-to-define-a-variable-in-cakephp > > > Am Di

Re: How to define a variable in Cakephp

2013-03-05 Thread Victor Musvibe
Hi Euromark I am the one who posted that. Was hoping to get a quicker response on the cakephp group On Tue, Mar 5, 2013 at 12:57 PM, euromark wrote: > > http://stackoverflow.com/questions/15221467/how-to-define-a-variable-in-cakephp > > > Am Dienstag, 5. März 2013 11:55:37 UTC+1

Re: How to define a variable in Cakephp

2013-03-05 Thread Jeremy Burns | Class Outfit
Some light reading for you: http://book.cakephp.org/2.0/en/index.html http://book.cakephp.org/2.0/en/tutorials-and-examples.html Jeremy Burns Class Outfit http://www.classoutfit.com On 5 Mar 2013, at 10:55:37, Victor Musvibe wrote: > I trying to pass a variable in cakephp to a view and gettin

Re: How to define a variable in Cakephp

2013-03-05 Thread euromark
http://stackoverflow.com/questions/15221467/how-to-define-a-variable-in-cakephp Am Dienstag, 5. März 2013 11:55:37 UTC+1 schrieb Victor Musvibe: > > I trying to pass a variable in cakephp to a view and getting error > Undefined variable: view [APP\View\ItQueries\add.ctp, line 9] and

How to define a variable in Cakephp

2013-03-05 Thread Victor Musvibe
I trying to pass a variable in cakephp to a view and getting error Undefined variable: view [APP\View\ItQueries\add.ctp, line 9] and line 9 is this Form->hidden('status_type', array('value'=>$view)); ?> Here is how im defining my variable in the controller class ItQueriesController ex