Hi,
I'm trying to load the TimeHelper from a console, but I'm not having
much lunch.
Can someone give me a pointer how to do this?
I've tried:
App::import('Helper','TimeHelper');
App::import('TimeHelper');
ClassRegistry::init('TimeHelper');
ClassRegistry::init('Time', 'Helper');
ClassRegistry::init('TimeHelper', 'Helper');
$time = ClassRegistry::init('TimeHelper', 'Helper'); gives the error:
Fatal error: Class 'Helper' not found in /home/jpearson/ZDE/workspace/
cmhr/cake/libs/view/helpers/app_helper.php on line 40
Thanks,
-Joel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---