If you have:
class foo
{
function blahblah()
{
}
}
class foobar extends foo
{
}
class bar extends foobar
{
function hey()
{
foo::blahblah(); <-- You want $this to be correct in
foo::blahblah.
}
}
Andi
At 01:32 AM 3/10/2001 +0100, André Langhorst wrote:
>>Is that bad? Could come in useful, especially when calling parent
>>classes.
>
>wow, what a quick response :)
>could you elaborate (I guess you do not have parent:: in your mind writing
>from parent classes)?
>
>andré
>
>
>
>
>
>--
>· André Langhorst t: +49 331 5811560 ·
>· [EMAIL PROTECTED] m: +49 173 9558736 ·
>* PHP Quality Assurance http://qa.php.net *
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]