/** * Constructor * * @see WPDB::__construct() for description of parameters. */ function __construct($dbuser, $dbpassword, $dbname, $dbhost) { parent::__construct($dbuser, $dbpassword, $dbname, $dbhost); $args = func_get_args(); $args = call_user_func_array(array(&$this, 'init'), $args); if ($args['host']) { $this->db_servers['dbh_global'] = $args; } }