Extends? Implements? Private, Public, Protected?
View Single Post
05-04-2008, 04:20 PM
Join Date: Dec 2007
Location: In my basement
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.
View Public Profile
Send a private message to Aaron
Visit Aaron's homepage!
Find More Posts by Aaron