Reply to Re: Getting class object information from file.

Your name:

Reply:


Posted by Rik Wasmus on 11/09/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация