PHP 클래스 HM\BackUpWordPress\Email_Service

상속: extends HM\BackUpWordPress\Service
파일 보기 프로젝트 열기: humanmade/backupwordpress

공개 프로퍼티들

프로퍼티 타입 설명
$name string Human readable name for this service

공개 메소드들

메소드 설명
action ( string $action, Backup $backup ) Fire the email notification on the hmbkp_backup_complete
constant ( )
display ( ) : string The sentence fragment that is output as part of the schedule sentence
field ( ) Output the email form field
form ( ) : string Not used as we only need a field
intercom_data ( )
intercom_data_html ( )
is_service_active ( ) Used to determine if the service is in use or not
update ( &$new_data, array $old_data ) : array | null Validate the email and return an error if validation fails

비공개 메소드들

메소드 설명
get_email_address_array ( ) : array Get an array or validated email address's

메소드 상세

action() 공개 메소드

Fire the email notification on the hmbkp_backup_complete
또한 보기: Backup::do_action
public action ( string $action, Backup $backup )
$action string The action received from the backup
$backup Backup

constant() 공개 정적인 메소드

public static constant ( )

display() 공개 메소드

The sentence fragment that is output as part of the schedule sentence
public display ( ) : string
리턴 string

field() 공개 메소드

Output the email form field
public field ( )

form() 공개 메소드

Not used as we only need a field
또한 보기: field
public form ( ) : string
리턴 string Empty string

intercom_data() 공개 정적인 메소드

public static intercom_data ( )

intercom_data_html() 공개 정적인 메소드

public static intercom_data_html ( )

is_service_active() 공개 메소드

Used to determine if the service is in use or not
public is_service_active ( )

update() 공개 메소드

Validate the email and return an error if validation fails
public update ( &$new_data, array $old_data ) : array | null
$old_data array The data we are replacing.
리턴 array | null Null on success, array of errors if validation failed.

프로퍼티 상세

$name 공개적으로 프로퍼티

Human readable name for this service
public string $name
리턴 string