View Single Post
Old 12-04-2007, 09:08 PM   #6 (permalink)
SOCK
The Acquainted
 
Join Date: Nov 2007
Posts: 154
Thanks: 31
SOCK is on a distinguished road
Default

Quote:
Originally Posted by Swordbeta View Post
Looks nice al though I don't really get what it means.
But can please someone explain me the variable $this?!
And I also don't understand the -> operator.

$this refers to the current object instance. The pointer simply allows the connection between object to method or data.

Classes & Objects (PHP v4)
Classes & Objects (PHP v5)

Aside from the PHP manual explanation, there are alot of good object oriented tutorials out there. Take a look at some Java tutorials to get a feel for object design and properties.
SOCK is offline  
Reply With Quote
The Following User Says Thank You to SOCK For This Useful Post:
ReSpawN (12-05-2007)