[symfony-users] Re: symfony2 : 3rd-party libraries

2011-02-01 Thread Adrien Mogenet
Well ; shame on me. It makes sense, yeah. Thanks for your answers. Reading PHP 5.3 specs again are helpful :) (more than reading it in early days of 5.3 alpa...) On 1 fév, 09:55, stof wrote: > On Mon, 31 Jan 2011 22:59:07 -0800 (PST), Adrien Mogenet > > wrote: > > Yes, this is the whole class na

Re: [symfony-users] Re: symfony2 : 3rd-party libraries

2011-02-01 Thread stof
On Mon, 31 Jan 2011 22:59:07 -0800 (PST), Adrien Mogenet wrote: > Yes, this is the whole class name SF2 is attempting to load... Despite > I declared this class using "prefixes" in autoloader. > > I agree this is not very logical, (at least, not so transparent) but I > don't think this could be a

Re: [symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Fabien Potencier
On 2/1/11 7:59 AM, Adrien Mogenet wrote: Yes, this is the whole class name SF2 is attempting to load... Despite I declared this class using "prefixes" in autoloader. I agree this is not very logical, (at least, not so transparent) but I don't think this could be a bug in autoloader. Please re

[symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Adrien Mogenet
Yes, this is the whole class name SF2 is attempting to load... Despite I declared this class using "prefixes" in autoloader. I agree this is not very logical, (at least, not so transparent) but I don't think this could be a bug in autoloader. On 31 jan, 22:40, Christophe COEVOET wrote: > Le 31/0

Re: [symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Christophe COEVOET
Le 31/01/2011 22:30, Adrien Mogenet a écrit : I don't understand, GeSHI is not using namespaces ! But if I use new GeSHI_Displayer, is does not work ; \GeSHI_Displayer does ! If there is no namespace it is logical. But in your previous message you talked about 'Application\EbBundle\Controller\

[symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Adrien Mogenet
I don't understand, GeSHI is not using namespaces ! But if I use new GeSHI_Displayer, is does not work ; \GeSHI_Displayer does ! On 31 jan, 21:48, Christophe COEVOET wrote: > Le 31/01/2011 21:43, Adrien Mogenet a crit :> I moved the class within > src/vendor/geshi/GeSHI/Displayer.php ... but >

Re: [symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Christophe COEVOET
Le 31/01/2011 21:43, Adrien Mogenet a écrit : I moved the class within src/vendor/geshi/GeSHI/Displayer.php ... but nothing happened :-x Class 'Application\EbBundle\Controller\GeSHi_Displayer' If you are using this namespace, you have to autoload it according to the namespace and it has to be i

[symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Adrien Mogenet
My mistake... it works, using \GeSHi_Displayer() :-) On 31 jan, 21:43, Adrien Mogenet wrote: > I moved the class within src/vendor/geshi/GeSHI/Displayer.php ... but > nothing happened :-x > > Class 'Application\EbBundle\Controller\GeSHi_Displayer' > > On 31 jan, 21:33, Christophe COEVOET wrot

[symfony-users] Re: symfony2 : 3rd-party libraries

2011-01-31 Thread Adrien Mogenet
I moved the class within src/vendor/geshi/GeSHI/Displayer.php ... but nothing happened :-x Class 'Application\EbBundle\Controller\GeSHi_Displayer' On 31 jan, 21:33, Christophe COEVOET wrote: > Le 31/01/2011 21:02, Adrien Mogenet a crit : > > > > > > > > > Hi everyone, > > > I'm still learning Sy