ok got it. thanks
On Sun, Mar 2, 2008 at 6:05 PM, Walker Hamilton <[EMAIL PROTECTED]>
wrote:
>
> you put var $helpers = array('Parser'); in the
> locations_controller.php file, yes?
>
> If you're calling the helper from the view as $parser->blah. Fine. It
> should work.
>
> If you need to call it from the controller (which I think you're
> doing, as your ---.php tells me it's not a view template) you need to
> load the Helper in and instantiate it.
>
> If you created this helper and just need to use it in controllers, you
> might consider making it a component instead.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---