Posted by Rik Wasmus on 10/02/55 12:00
On Wed, 16 Jan 2008 22:29:41 +0100, <elmosik@gmail.com> wrote:
> Is there any method to get this informations from php file?
>
> 1. Class methods
> 2. Check whether class in file is extended by 'XXX' or not (class
> MyClass extends XXX ...)
>
> - Class has same name as files e.g. file named 'myclass.php' has class
> named 'myclass' etc...
While getting the class name is something you can solve yourself, for
everything following that:
http://php.net/reflection
--
Rik Wasmus
Navigation:
[Reply to this message]
|