What are you trying to do? I would never use a Helper in a model, a helper is supposed to be used in a View! So please try to describe what you want to accomplish with a Helper in the Model! Enjoy, John
On Feb 26, 5:59 am, maya <[email protected]> wrote: > Hi, > > Im using Form helper in a Model like this. > > > App::import('Helper','Form'); > > $form = new FormHelper(); > > But $form->webroot is NULL, it is not able to read. > Is it a bug or by design? > > Thanks, > > -- > maya Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
