NYCPHP Meetup

NYPHP.org

[nycphp-talk] static methods in derived classes

Joseph Crawford codebowl at gmail.com
Thu Sep 23 10:09:22 EDT 2004


yes i dont believe you can do it like that (although i may be wrong) i
think static methods need to be accessd by parent::eat();

i know that when you have a static method in one class in the same
class you cannot use $this->eat() you must use Self::eat() so try
parent:: and let me know how things go.

-- 
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
802-558-5247

For a GMail account
contact me OFF-LIST



More information about the talk mailing list