![]() $ this-> _dumpSettings = self:: array_replace_recursive( $dumpSettingsDefault, $dumpSettings) Dump Settings missing settings in constructor will be replaced by default options $ this-> _pdoSettings = self:: array_replace_recursive( $pdoSettingsDefault, $pdoSettings) PDO:: MYSQL_ATTR_USE_BUFFERED_QUERY => false PDO:: ATTR_ERRMODE => PDO:: ERRMODE_EXCEPTION, * deprecated */ 'disable-foreign-keys-check' => true 'net_buffer_length' => self:: MAXLINESIZE, 'hex-blob' => true, /* faster than escaped content */ 'insert-ignore' => false, 'default-character-set' => Mysqldump:: UTF8, * * string $dsn PDO DSN connection string * string $user SQL account username * string $pass SQL account password * array $dumpSettings SQL database settings * array $pdoSettings PDO configured attributes */ public function _construct( Note that in the case of an SQLite database * connection, the filename must be in the $db parameter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |