App::uses('ClassName', 'PluginName.Vendor');
App::build will let you add additional paths for plugins etc.
You don't need to use app build to be able to use classes from plugins.
- S
On 27 Nov 2011 17:55, "p r" <perabdev@googlemail.com> wrote:
-- Hello,
it would be a pleasure if somebody could help me. I try to load files
from Plugin subfolder. How should i use App::build? One solution is to
add the plugins vendor subfolder to the vendors paths. Now the classes
are available per App::uses.
But so i have to include every external library folder i want to use
in the plugin. Is there a way to work with plugins vendor folder in
App::uses, or is it possible to specify this on App:build?
greetings
pr
--
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
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
No comments:
Post a Comment