PDA

View Full Version : $vbulletin->


Adrian.
05-12-2007, 10:00 AM
Hey,

I'm not talking about, how i would use the vBulletin specific functions/classes, i'm curious, to how it's made.

How does vB, get to use $vbulletin->function_or_var

Do they do $vbulletin &= new XXX; somewhere?
I know the above can be used for a certain class, but $vbulletin seems to be for alot of different classes/functions.

Or is there a certain method i'm missing?

Any help would be great. :)
Thanks, Adrian

EDIT: Nevermind, i think i'v noticed how it's done. :o

nexialys
05-12-2007, 10:37 AM
$vbulletin is the wrapper for a lot of classes, because there is a lot of functions in this system, and having a different class for each task would make globals too larges.