PHP 클래스 HM\BackUpWordPress\Mysqldump_Database_Backup_Engine

상속: extends Database_Backup_Engine
파일 보기 프로젝트 열기: humanmade/backupwordpress

공개 메소드들

메소드 설명
__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.