PHP Класс HM\BackUpWordPress\Backup_Status

Показать файл Открыть проект

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

Метод Описание
__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 )