PHP 클래스 Ingo_Script_Sieve_Action_Reject, 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.

메소드 상세

__construct() 공개 메소드

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

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.