2

I am new to Zend Framework. I am trying to integrate TCPDF with my controller so that I can generate PDFs on the fly. I'd like to put the entire TCPDF folder in library/tcpf (instead of the public folder where it is now) and have the application run but I dont seem to be able to get Zend to see it and use it. I read through the loader documentation but I'm still confused. Help please.

Regards, Joe Chin

1 Answer 1

4

I'm not sure if Zend_Loader will help you too much here as TCPDF appears to only have one class and does not follow the PEAR style class naming conventions. So if I were you I'd extract it all into library/tcpf as you suggested and then just require in library/tcpdf/tcpdf.php when you need it.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for the info Tim. I have it in my library folder now and all is working well. Cheers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.