|
Posted by Rik on 01/13/07 11:29
Sanders Kaufman wrote:
> Rik wrote:
>> Sanders Kaufman wrote:
>
>>> Where would I use "::"?
>>
>> You wouldn't, as it are all objects, and not classes. You'd only
>> need it if your class extended another class and you wished to call
>> a parents method.
>>
>> http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
>
> OH! So if my class has a method, and then another class extends
> the class and overrides(?) the method, I can call the original
> method with "::"?
Yup, you've got it :-).
--
Rik Wasmus
Navigation:
[Reply to this message]
|