Yii Framework Forum: [Extension] Pdffactory - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] Pdffactory Create pdf documents with TCPDF and FPDI

#1 User is offline   Joblo 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 12-September 10
  • Location:Austria

Posted 27 April 2014 - 05:59 AM

Discuss the extension pdffactory in this topic.
0

#2 User is offline   loise16 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 21-July 14

Posted 22 July 2014 - 02:36 AM

View PostJoblo, on 27 April 2014 - 05:59 AM, said:

Discuss the extension pdffactory in this topic.


Hello, Can you please help me? I'm a total noob. I don't get how create a file from this extension.

Thank you.
0

#3 User is offline   loise16 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 21-July 14

Posted 22 July 2014 - 02:52 AM

View PostJoblo, on 27 April 2014 - 05:59 AM, said:

Discuss the extension pdffactory in this topic.



I have followed the installation instructions, the setting in config/main. But I don't understand the next step are. and the way it produces the pdf from the data that I have.
0

#4 User is offline   kAIOSHIN 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 12-October 14

Posted 08 November 2014 - 11:45 AM

For loop Multiple pdf files

How can I create multiple pdfs on a for loop?

I have this:

foreach ($elements as $element) 
{
   $accPdf  =  AccreditationPdf::doc();
   $accPdf  -> setData(array('model'=>$model, 'elements'=>$elements));
   $pdfFile = $accPdf -> output('F');
...

But i get: Undefined property: TCPDF::$h If only one pdf, it works fine.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users