05-04-2008, 04:20 PM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Ehh, okay...
That cleared up the protected function for me, but my actual problem was the weird Class::selectorthing. Like, if your class extends another class, you can use $this-> to access anything, but should you use Class::? does Class:: do anything different from $this->?
And then theres the implements thing... I'll go read a tutorial for that...
And so you don't need to extend something to use a public function?
I read somewhere that you shouldn't edit or use the properties of a class in your script, is that true?
What do you do if you need to extend two classes?
__________________
Signatures are nothing but incriminating.
|
|
|