core:onBeforeDatabaseConnect event
Triggered by |
/phproad/modules/db/classes/db_mysqldriver.php |
Author |
LemonStand eCommerce Inc. |
public mixed event_onBeforeDatabaseConnect(Db_MySQLDriver $driver)
$driver |
Db_MySQLDriver |
specifies MySQL driver object. |
{return} |
mixed |
returns the MySQL connection resource. |
Triggered before database connection is established.
You can use this event for creating custom MySQL connection. The handler
should return MySQL connection resource - a result of mysql_pconnect() or mysql_connect() functions.
|