On 1/17/07, jinhr <[EMAIL PROTECTED]> wrote:
Just like you would use any third party code.

My question: How can I use FPDF smoothly into CakePHP framework? Should
I define it as Component or Helper? Anybody has such experience or even
sharable codes?

You can get started by putting FPDF in the vendors folder and using it
in your controller with
vendor('fpdf');
$fpdf = new fpdpf();
.....

As your code evolves you can refactor the fpdf related methods into a
component. (you will most likely never need a helper as helpers are
related to views)

HTH

Tarique

--
=============================================================
PHP Applications for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to