Page 1 of 1

Java inside of PHP - How to use Abstract classes?

Posted: Sun Nov 30, 2003 10:24 pm
by Sembiance
I have an abstract class, and I need to call one of it's functions.
But you have to instaniate all objects first in PHP like so:

$javaObject = new Java("org.custom.abstractobject");

But since it's declared as Abstract, it can't be instantiated, and thus throws an Instanation exception.

Does anyone know how I can access it's members without instantiating it?