![]() |
$DB_site Explaination
ALright this may seem odd for a pro like me (HAHAHAHAHAH) but I was wondering if anyone that knows or understands to OO in vbulletin? I know that it connects to the database and does all the session bs but I am not to sure what the process is when you use this to connect to do mysql querys...
example: $DB_site->query(); How does this contain or know to contain mysql_ ... and whats its main purpose? Thanks - Ohhh Billy :banana: |
The db_mysql.php file contains the conversion of $DB_site->query etc into mysql_query and defines how vB connects to the DB. This could be re-written to allow connection to Oracle say.
|
Check out the file NTLDR pointed you at, and read this article :
http://www.devshed.com/Server_Side/PHP/Class/page1.html ... you'll notice what's going on. |
All times are GMT. The time now is 02:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|