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 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 constructor in the setup of helper ...
> But it triggers 2 times...
> How can I say to app::import that I don't want to call the
> constructor?...
>
> App::import("Vendor", "FPDF", array( "file" =>
> "fpdf/fpdf.php" ) );
>
> USing RC2 of cakephp
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---