|
From: <php...@li...> - 2009-07-02 10:51:34
|
Hi everybody, first of all thanks for this great piece of software that makes it easy to use powerful Java libs in a PHP based application. That's really awesome. Currently I'm working on a PDF generation using iText and I'm surprised that it's quite easy to find my way around. But of course I wouldn't post this if there wasn't this one thing that is not working for me: writing a PHP class that derives from a Java class. Before you guys scream "RTFM!", I really tried to find this out myself but all I could find was the FAQ file in the documentation. This points to java_closure() and to an example in the file script_api.php in the tests folder. Reading the documentation of java_closure() and the example only the implementation of java interfaces in a PHP class is described (which will definitely be useful for me later - I'm sure). So my question: can someone please explain how a PHP class can extend a Java class? Any hint would be appreciated. Thank you very much. Regards, Alexander Thomas |