__construct() __construct( $hostname, $username, $password, $database, $path = 'skin/backup/') Parameters $hostname $username $password $database $path
downloadFile() downloadFile(string $fileName) : array|mixed|string 下载备份 Parameters string $fileName Returns array|mixed|string
writeToFile() writeToFile(array $tables = array(), array $ddl = array(), array $data = array()) 写入文件 Parameters array $tables array $ddl array $data
parseSQL() parseSQL(string $path = '') : array|mixed|string 解析SQL文件为SQL语句数组 Parameters string $path Returns array|mixed|string