function __construct($host = 'localhost', $user, $password, $database = '', $prefix = '', $offline = true) { $options = array('host' => $host, 'user' => $user, 'password' => $password, 'database' => $database, 'prefix' => $prefix); parent::__construct($options); }