PHP 클래스 HM\BackUpWordPress\Backup_Status

파일 보기 프로젝트 열기: humanmade/backupwordpress

공개 메소드들

메소드 설명
__construct ( $id )
finish ( )
get_backup_filename ( ) : string | null Get the filename of the backup.
get_start_time ( ) : integer Get the time that the current running backup was started
get_status ( ) : string Get the status of the running backup.
get_status_filepath ( ) : string Get the path to the backup running file that stores the running backup status
is_started ( )
set_status ( string $message ) : null Set the status of the running backup
start ( $backup_filename, $status_message )

메소드 상세

__construct() 공개 메소드

public __construct ( $id )

finish() 공개 메소드

public finish ( )

get_backup_filename() 공개 메소드

Get the filename of the backup.
public get_backup_filename ( ) : string | null
리턴 string | null The backup filename.

get_start_time() 공개 메소드

Get the time that the current running backup was started
public get_start_time ( ) : integer
리턴 integer $timestamp

get_status() 공개 메소드

Get the status of the running backup.
public get_status ( ) : string
리턴 string

get_status_filepath() 공개 메소드

Get the path to the backup running file that stores the running backup status
public get_status_filepath ( ) : string
리턴 string

is_started() 공개 메소드

public is_started ( )

set_status() 공개 메소드

Set the status of the running backup
public set_status ( string $message ) : null
$message string
리턴 null

start() 공개 메소드

public start ( $backup_filename, $status_message )