Thursday, December 4, 2008

How to use Core Helpers in a console/shell script

Hello, I am trying to use the Xml Helper in a shell script that will be run
from the console.

Per the http://book.cakephp.org/view/499/The-App-Class I tried
App::import('Helper', 'Xml') without any luck.

Without success I also gave the suggestions in
http://n2.nabble.com/Load-Helper-in-Console-td1556101.html#a1559299 a try.

Any other ideas for me? Thanks.
--
View this message in context: http://n2.nabble.com/How-to-use-Core-Helpers-in-a-console-shell-script-tp1616804p1616804.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: