PHP 클래스 HM\BackUpWordPress\File_Backup_Engine

All File Backup Engine implementations should extend this class
상속: extends Backup_Engine
파일 보기 프로젝트 열기: humanmade/backupwordpress 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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