[symfony-users] Re: Class not autoloaded in plugin

2007-07-20 Thread Nicolas CHARLOT
Is there a way to load all modules/lib classes (not just the lib located in current module) ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to s

[symfony-users] Re: Class not autoloaded in plugin

2007-07-19 Thread Nicolas CHARLOT
Colin Williams a écrit : Well I'm not entirely sure if this would solve your problem, but I believe it is bad practice to have the plugin refer to a class that is not contained in the plugin. I agree with U. The class stay here temporary and will be packaged in another plugin. --~--~

[symfony-users] Re: Class not autoloaded in plugin

2007-07-18 Thread Alexander Deruwe
On 18 Jul 2007, at 22:15, Nicolas CHARLOT wrote: > The class MyTools is located at /apps/frontend/modules/mymodule/lib/ > MyTools.class.php. > > In an action of a plugin (/plugins/myplugin/modules/mymodule/ > actions/actions.class.php) , the class doesn't seems to be autoloaded. I noticed the s

[symfony-users] Re: Class not autoloaded in plugin

2007-07-18 Thread Colin Williams
Well I'm not entirely sure if this would solve your problem, but I believe it is bad practice to have the plugin refer to a class that is not contained in the plugin. What happens if the plugin is installed in a project that doesn't have that specific MyTools class? It'd be much better for you to