PHP 클래스 HM\BackUpWordPress\Zip_File_Backup_Engine

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

공개 메소드들

메소드 설명
__construct ( )
backup ( ) : boolean Perform the file backup.
get_exclude_string ( ) : string Convert the exclude rules to a format zip accepts
get_zip_executable_path ( ) : string | false Calculate the path to the zip executable.

메소드 상세

__construct() 공개 메소드

public __construct ( )

backup() 공개 메소드

Perform the file backup.
public backup ( ) : boolean
리턴 boolean Whether the backup completed successfully or not.

get_exclude_string() 공개 메소드

Convert the exclude rules to a format zip accepts
public get_exclude_string ( ) : string
리턴 string The exclude string ready to pass to `zip -x`

get_zip_executable_path() 공개 메소드

The executable path can be overridden using either the HMBKP_ZIP_PATH Constant or the hmbkp_zip_executable_path filter. If neither of those are set then we fallback to checking a number of common locations.
public get_zip_executable_path ( ) : string | false
리턴 string | false The path to the executable or false.