PHP 클래스 Prado\Util\TEmailLogRoute

TEmailLogRoute sends selected log messages to email addresses. The target email addresses may be specified via {@link setEmails Emails} property. Optionally, you may set the email {@link setSubject Subject} and the {@link setSentFrom SentFrom} address.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends TLogRoute
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getEmails ( ) : array
getSentFrom ( ) : string
getSubject ( ) : string
init ( $config ) Initializes the route.
setEmails ( $emails ) : array | string
setSentFrom ( $value )
setSubject ( $value )

보호된 메소드들

메소드 설명
processLogs ( $logs ) Sends log messages to specified email addresses.

메소드 상세

getEmails() 공개 메소드

public getEmails ( ) : array
리턴 array list of destination email addresses

getSentFrom() 공개 메소드

public getSentFrom ( ) : string
리턴 string send from address of the email

getSubject() 공개 메소드

public getSubject ( ) : string
리턴 string email subject. Defaults to TEmailLogRoute::DEFAULT_SUBJECT

init() 공개 메소드

Initializes the route.
public init ( $config )

processLogs() 보호된 메소드

Sends log messages to specified email addresses.
protected processLogs ( $logs )

setEmails() 공개 메소드

public setEmails ( $emails ) : array | string
리턴 array | string list of destination email addresses. If the value is a string, it is assumed to be comma-separated email addresses.

setSentFrom() 공개 메소드

public setSentFrom ( $value )

setSubject() 공개 메소드

public setSubject ( $value )