Re: More OOP

From: Date: Thu, 18 Jan 2001 15:46:42 +0000
Subject: Re: More OOP
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44485@lists.php.net to get a copy of this message
Hi I looked at your link "http://www.mm4.de/php4win/tips.php3?id=1" and found that "parent::classname()" worked. But how? Usualy PHP uses a "->" like "$this->classname()". I've never before seen the two "::" - Can someone explain? - It works though... thanks :) /watson ----- Original Message ----- From: "Harald Radi" <h.radi@nme.at> To: "Sam Liddicott" <sam.liddicott@ananova.com>; "Cynic" <cynic@mail.cz>; "Thomas Watson" <w@tson.dk>; <php-dev@lists.php.net> Sent: Thursday, January 18, 2001 3:05 PM Subject: AW: [PHP-DEV] More OOP > see http://www.mm4.de/php4win/tips.php3?id=1 > > > -----Ursprüngliche Nachricht----- > > Von: Sam Liddicott [mailto:sam.liddicott@ananova.com] > > Gesendet: Donnerstag, 18. Jänner 2001 14:39 > > An: Cynic; Sam Liddicott; Thomas Watson; php-dev@lists.php.net > > Betreff: RE: [PHP-DEV] More OOP > > > > > > > > > > > -----Original Message----- > > > From: Cynic [mailto:cynic@mail.cz] > > > Sent: Thursday, January 18, 2001 01:41 > > > To: Sam Liddicott; Thomas Watson; php-dev@lists.php.net > > > Subject: RE: [PHP-DEV] More OOP > > > > > > > > > At 14:27 18.1. 2001, Sam Liddicott wrote the following: > > > -------------------------------------------------------------- > > > >Sounds a good idea. $super though is identical to $this in > > > plain value but > > > >has a different type. > > > >For $super you mean $this but treated as if it were a parent > > > class. Maybe > > > >this will be introduced soon. > > > > > > see $parent > > > > I can't find reference to this on the site, although > > http://www.php.net/manual/en/ref.classobj.php seems very > > useful. > > > > Sam > > > > > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > >

« previous php.dev (#44485) next »