[PHP] Re: PHP College Scholarships?

2005-01-10 Thread Daniel Schierbeck
Andrew Wickham wrote: Does anyone know of any college scholarships for PHP or Computer Science. I need some non-college specific ones. The reason I ask is obviously because I need some help going to college through scholarships, and I have been programming in PHP for about 6 years now. Please hel

Re: [PHP] Get name of extending class with static method call

2005-01-11 Thread Daniel Schierbeck
Torsten Roehr wrote: "Christopher Fulton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Not sure if this is the best way to do it or not, but you can do this and it should (untested code) work. class Car { function drive() { return $this->getClassName();

Re: [PHP] Re: Get name of extending class with static method call

2005-01-11 Thread Daniel Schierbeck
Christopher Fulton wrote: This should work for you then(maybe...i don't have php5 on my system, so it may not, but i think it would. http://us4.php.net/manual/en/function.get-class.php class Car { function drive() { return get_class($this); } } class Porshe { } $

<    1   2