Join the forums now, and start posting to receive access to our Scripts Vault!
I can send you pics of my cocks if you want reference.
$foo->bar means that the $foo is an object that is using method (its like a function, but its called method when its used in OOP) named bar. If you really want to learn Object Oriented programming I suggest that you read The basicc of the OOP.The ->set() is so-called Setter, it gives a value to the object. I must say I haven't fully understanded the benefit to use Setters and Getters, but they are commonly used.
<?phpclass Box{ //In here comes all the class information, methods etc}?>
<?phpclass Box{ var $contents; function Box($contents) { $this->contents = $contents; } function get_whats_inside() { return $this->contents; }}$mybox = new Box("Jack");//Now $mybox is object called Box and we can use the class methodsecho $mybox->get_whats_inside(); ?>