NYCPHP Meetup

NYPHP.org

[nycphp-talk] static methods in derived classes

Chris Bielanski Cbielanski at inta.org
Thu Sep 23 10:47:46 EDT 2004


Pardon my Delphi leanings, that's the bulk of my OO experience... That said:

Does this mean that Dave should be overriding the eat() method in the child,
the body of which is merely calling parent::eat()?



Thanks,
Chris Bielanski
Web Programmer, 
International Trademark Association,
1133 Avenue of the Americas, 33rd Floor
New York, NY 10036
+1 (212) 642-1745, f: +1 (212) 768-7796
mailto:cbielanski at inta.org, www.inta.org  
INTA -- 125 Years of Excellence



> -----Original Message-----
> From: Joseph Crawford [mailto:codebowl at gmail.com]
> Sent: Thursday, September 23, 2004 10:41 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] static methods in derived classes
> 
> 
> yea there is no way to have a child:: because several classes can
> extend the same class, how would the parent class know which child
> class to use?
> 
> -- 
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
> 802-558-5247
> 
> For a GMail account
> contact me OFF-LIST
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 



More information about the talk mailing list