Quote:
Originally Posted by sp00fer
thanks, that worked.....could u explain why though?
|
This deals with the foundations of Object Oriented Programming.
Since postbit_display_complete exists in a class, the $vbulletin object must be aggregated to that class.
vBulletin programming standards aggregates the vBulletin object to $registry.
PHP Code:
$this->registry &= $vbulletin;
All class attributes can be accessed within the class with
(Outside the class $this will be changed to the actual object name: ie: $vbulletin)
So you access the $vbulletin object inside the class as:
PHP Code:
$this->registry
.
More information:
http://us2.php.net/oop