I really ought to check my code before posting... but you get the idea :)
class generatedFoo {
public function __autoload($class) {
include "/path/to/class/$class.php";
}
// other stuff
}
?>
http://www.php.net/zend-engine-2.php
--
PHP General Mailing List (http://www.php.net/)
To unsub
include (extended_methods_stuff.php);
}
I know that I can probably extend this class to add the extra
functionality however the other generated classes rely on the name of this
class so I cannot just extend this class and it's name cannot change.
Is there any way to have an include prior to the c
2 matches
Mail list logo