Re: Extending classes
- From: Toke Herkild <toke@xxxxxxxxx>
- Date: Thu, 09 Jun 2005 11:17:11 +0200
Thanks ! Just what I needed ;)
Veikko Mäkinen wrote:
Toke Herkild wrote:
Hi all,
When using classes/objects how do inheritance work ? Are there some kind of overload as in pascal?
Yes there is, but the keyword is not 'inherited' (like in Pascal) but 'parent' (plus you need to use scope resolution operator :: ).
http://www.php.net/manual/en/keyword.parent.php
-veikko
.
- References:
- Extending classes
- From: Toke Herkild
- Re: Extending classes
- From: Veikko Mäkinen
- Extending classes
- Prev by Date: Re: Extending classes
- Next by Date: datepart ?
- Previous by thread: Re: Extending classes
- Next by thread: datepart ?
- Index(es):