MySQL Database Class - Database Definitions.
Modify default error handling mode if you wish.
Default is DBOF_SHOW_NO_ERRORS if you omit this parameter.
Name of application using this class (used in error.log etc.).
Set address to be shown in case of an error.
If this is not set the default address of $_SERVER['SERVER_ADMIN'] is used.
You can set here the character set used when connecting.
This is only performed if this define is set, else no specific character set is set. To get a list of all supported character sets connect to MySQL and issue the following: SHOW CHARACTER SET; The class performs a "SET NAMES 'utf8';" query if you define i.e. 'utf8' as characterset.
Database schema to use after connecting.
Hostname/IP address of database server.
If you need NEW connections when supplying identical credentials but using a different DB on the same server, set this define to TRUE. Default value is FALSE, this is also used by all previous releases of this class.
Password to authenticate.
Set this define to 1 if you want auto-emails to be sent whenever an error occures. Default is 0 (disabled).
To have Day and month names returned in a specific locale, define here a valid countrycode.
Note that this is supported since MySQL 5.0.25 (see http://dev.mysql.com/doc/refman/5.0/en/locale-support.html) If you do not define this value, the class does not set any lc_time_names at all. If a define is given the class performs a "SET lc_time_names = 'de_DE';" query to enable german locale.
Username to connect to database.
Set this define to 1 if you want to use persistant connections as default connection.
Default is 0, which means that mysql_connect is used instead. (new connections).
Documentation generated on Sat, 07 Aug 2010 10:18:05 +0200 by phpDocumentor 1.4.3