Welcome Guest, Not a member yet? Register   Sign In
FPDF - Extending the Class
#5

[eluser]Jonathon Hill[/eluser]
Guess so, but I have three PDF views and they're all hundreds of lines long. I don't want to bloat my controllers and it doesn't feel right to create a library for each PDF. So the view is the only way to go.

I don't think there's any problem with the output command at the end of the view because $this->load->view() is normally the last thing in the controller function and CI's default behaviour is to go ahead and output the view. That's what I'm doing here, except I'm calling with TCPDF's output method instead of CI's.


Messages In This Thread
FPDF - Extending the Class - by El Forum - 06-19-2008, 02:37 AM
FPDF - Extending the Class - by El Forum - 06-19-2008, 04:28 AM
FPDF - Extending the Class - by El Forum - 06-19-2008, 10:20 AM
FPDF - Extending the Class - by El Forum - 06-19-2008, 11:09 AM
FPDF - Extending the Class - by El Forum - 06-19-2008, 12:09 PM
FPDF - Extending the Class - by El Forum - 06-19-2008, 12:24 PM
FPDF - Extending the Class - by El Forum - 06-19-2008, 02:30 PM
FPDF - Extending the Class - by El Forum - 06-20-2008, 01:24 AM
FPDF - Extending the Class - by El Forum - 09-15-2008, 04:24 PM
FPDF - Extending the Class - by El Forum - 09-15-2008, 05:44 PM
FPDF - Extending the Class - by El Forum - 09-15-2008, 06:13 PM
FPDF - Extending the Class - by El Forum - 09-15-2008, 06:44 PM
FPDF - Extending the Class - by El Forum - 10-17-2008, 12:02 PM
FPDF - Extending the Class - by El Forum - 10-19-2008, 05:39 PM
FPDF - Extending the Class - by El Forum - 07-11-2009, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB