cakephp 2.0 App:import
Hello
I started to migrate my application to 2.0
I encountered the following problem.
I use a twitter plugin.
The file: Plugin/Twitter/Config/twitter.php contains the class
TWITTER_CONFIG
In the template file: Plugin/Twitter/Model/twitter.php I want to
import this class:
App:: import ('File', 'Twitter.TWITTER_CONFIG', null, null,
'Config'. DS. "Twitter.php ');
But without success, the class does not load.
Any ideas?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home