1 | <?php |
||
12 | class IMysqldump_Database_Backup_Engine extends Database_Backup_Engine { |
||
13 | |||
14 | public function __construct() { |
||
17 | |||
18 | /** |
||
19 | * Perform the database backupwordpress |
||
20 | * |
||
21 | * @return bool True if the backup completed successfully, else false. |
||
22 | */ |
||
23 | public function backup() { |
||
37 | |||
38 | /** |
||
39 | * Get the settings for the database bump. |
||
40 | * |
||
41 | * @return array The array of database dump settings. |
||
42 | */ |
||
43 | public function get_dump_settings() { |
||
58 | |||
59 | /** |
||
60 | * Correctly calculates the DSN string for the various mysql |
||
61 | * connection variations including simplt hostname, non-standard ports |
||
62 | * and socket connections. |
||
63 | * |
||
64 | * @return string The DSN connection string |
||
65 | */ |
||
66 | public function get_dsn() { |
||
81 | |||
82 | } |
||
83 |