PHP Класс HM\BackUpWordPress\File_Backup_Engine

All File Backup Engine implementations should extend this class
Наследование: extends Backup_Engine
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$excludes Excludes The array of excludes rules

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

Метод Описание
__construct ( ) Set the default backup filename.
get_files ( ) : SplFileInfo[] Returns a Finder instance for the files that will be included in the backup.
set_excludes ( Excludes $excludes ) Set the excludes rules for the backup.
verify_backup ( ) : boolean Verify that the file backup completed successfully.

Описание методов

__construct() публичный Метод

Set the default backup filename.
public __construct ( )

get_files() публичный Метод

By default we ignore unreadable files and directories as well as, common version control folders / files, "Dot" files and anything matching the exclude rules.
public get_files ( ) : SplFileInfo[]
Результат SplFileInfo[] The array of all files to be included

set_excludes() публичный Метод

Set the excludes rules for the backup.
public set_excludes ( Excludes $excludes )
$excludes Excludes The exclude rules.

verify_backup() публичный Метод

This should be called from backup method of any final file backup engine implementations.
public verify_backup ( ) : boolean
Результат boolean Whether the backup completed successfully.

Описание свойств

$excludes защищенное свойство

The array of excludes rules
protected Excludes,HM\BackUpWordPress $excludes
Результат Excludes