PHP Class HM\BackUpWordPress\Backup_Status

Afficher le fichier Open project: humanmade/backupwordpress

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

public __construct ( $id )

finish() public méthode

public finish ( )

get_backup_filename() public méthode

Get the filename of the backup.
public get_backup_filename ( ) : string | null
Résultat string | null The backup filename.

get_start_time() public méthode

Get the time that the current running backup was started
public get_start_time ( ) : integer
Résultat integer $timestamp

get_status() public méthode

Get the status of the running backup.
public get_status ( ) : string
Résultat string

get_status_filepath() public méthode

Get the path to the backup running file that stores the running backup status
public get_status_filepath ( ) : string
Résultat string

is_started() public méthode

public is_started ( )

set_status() public méthode

Set the status of the running backup
public set_status ( string $message ) : null
$message string
Résultat null

start() public méthode

public start ( $backup_filename, $status_message )