vendor vs app:import call the constructor...

2008-06-30 Thread Alessio
I notice that using app::import in the helper file or in the controller, it will call the constructor of the class... So all the old code doesnt work... FOr example the fpdf example...doesn't work.. It call two time the constructor, and the var $orientation becomes an array... I want call the

Re: vendor vs app:import call the constructor...

2008-06-30 Thread Alessio
someone was able to use example of fpdf in cakebaker. but using php5 and rc2... I don't know why in the helper cakephp pass an array to the class of Fpdf... In 1.1 it look likes regular... On 30 Giu, 17:54, Alessio [EMAIL PROTECTED] wrote: I notice that using app::import in the helper file