[eluser]pendalpusher[/eluser]
Yesterday I got Fpdf and Fpdi working within the CI framework.
Currently to access the classes I am doing this.
Code:
$this->load->library('fpdf');
$this->load->library('fpdi');
//now do something with them
$this->fpdi->AddPage();
$this->fpdi->Output();
My question is how to make multiple instances? Outside of CI i would do it like this
Code:
$pdf1 = new fpdi();
$pdf2 = new fpdi();
Do I need make two seperate models? or what?
Thanks in advance.
P