PHP Класс HM\BackUpWordPress\Mysqldump_Database_Backup_Engine

Наследование: extends Database_Backup_Engine
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( )
backup ( ) : boolean Perform the database backup.
get_mysql_connection_args ( ) : string[] Get the connection args for the mysqldump command
get_mysqldump_executable_path ( ) : string | false Calculate the path to the mysqldump executable.

Описание методов

__construct() публичный Метод

public __construct ( )

backup() публичный Метод

Perform the database backup.
public backup ( ) : boolean
Результат boolean Whether the backup completed successfully or not.

get_mysql_connection_args() публичный Метод

Get the connection args for the mysqldump command
public get_mysql_connection_args ( ) : string[]
Результат string[] The array of connection args

get_mysqldump_executable_path() публичный Метод

The executable path can be overridden using either the HMBKP_MYSQLDUMP_PATH Constant or the hmbkp_mysqldump_executable_path filter. If neither of those are set then we fallback to checking a number of common locations.
public get_mysqldump_executable_path ( ) : string | false
Результат string | false The path to the executable or false.