PHP 클래스 Ingo_Script_Sieve_Action_Vacation, horde

저자: Mike Cochrane ([email protected])
저자: Jan Schneider ([email protected])
상속: extends Ingo_Script_Sieve_Action
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( array $vars = [] ) Constructor.
check ( ) : boolean | string Checks if the rule parameters are valid.
generate ( ) : string Returns a script snippet representing this rule and any sub-rules.
requires ( ) : array Returns a list of sieve extensions required for this rule and any sub-rules.

보호된 메소드들

메소드 설명
_dateCheck ( ) : string Uses 'date' and 'relative' extensions to limit vacation messages by date.
_dayCheck ( $begin, $end )
_monthCheck ( $begin, $end )
_regexCheck ( ) : string Uses regular expression parsing to limit vacation messages by date.
_vacationCode ( )
_yearCheck ( $begin, $end )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $vars = [] )
$vars array Any required parameters.

_dateCheck() 보호된 메소드

Uses 'date' and 'relative' extensions to limit vacation messages by date.
protected _dateCheck ( ) : string
리턴 string A Sieve script snippet.

_dayCheck() 보호된 메소드

protected _dayCheck ( $begin, $end )

_monthCheck() 보호된 메소드

protected _monthCheck ( $begin, $end )

_regexCheck() 보호된 메소드

Uses regular expression parsing to limit vacation messages by date.
protected _regexCheck ( ) : string
리턴 string A Sieve script snippet.

_vacationCode() 보호된 메소드

protected _vacationCode ( )

_yearCheck() 보호된 메소드

protected _yearCheck ( $begin, $end )

check() 공개 메소드

Checks if the rule parameters are valid.
public check ( ) : boolean | string
리턴 boolean | string True if this rule is valid, an error message otherwise.

generate() 공개 메소드

Returns a script snippet representing this rule and any sub-rules.
public generate ( ) : string
리턴 string A Sieve script snippet.

requires() 공개 메소드

Returns a list of sieve extensions required for this rule and any sub-rules.
public requires ( ) : array
리턴 array A Sieve extension list.