fpdf problems in cakephp

Asked

Viewed 33 times

0

When I will create a new PDF class extending it to the FPDF to rewrite the methods Header, Footer, etc... This following error appears to me, I already searched but I could not solve..

this is my private method in the controller:

http://hastebin.com/eqenexequd.coffee

and the error that appears is this:

Class declarations may not be nested

  • 1

    The error means that there is one class inside the other. Can you post your class code? It may be that there really is a class within another, or it may be that it is simply a typographical error.

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.