Abstract Legacy question
| From: | Andy Pieters | Date: | Wed, 20 Apr 2005 21:16:01 +0000 |
| Subject: | Abstract Legacy question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213538@lists.php.net to get a copy of this message | ||
Hi group
This is kinda hard to say in words, so I'll give a little example
Class A
function x
calls function guid
function y
function z
function guid
Class B extends A
function y
calls function x
function guid
So what I'm wondering is when class B calls its function Y, it will in its
turn call function X (which is not overloaded in class B) and function X
calls the function GUID from which class? Class A or Class B?
Kind regards
Andy
--
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:
http://www.vlaamse-kern.com/sas/
--
--