PHP 클래스 Ingo_Script_Sieve_Action_Flag, horde

It supports both imap4flags (RFC 5232) and the older, deprecated imapflags (draft-melnikov-sieve-imapflags-03) capabilities.
저자: Michael Slusarz ([email protected])
저자: Jan Schneider ([email protected])
상속: extends Ingo_Script_Sieve_Action
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

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

보호된 메소드들

메소드 설명
_generate ( string $mode ) : string Returns a script snippet representing this rule and any sub-rules.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $vars = [] )

_generate() 보호된 메소드

Returns a script snippet representing this rule and any sub-rules.
protected _generate ( string $mode ) : string
$mode string The sieve flag command to use. Either: - addflag - removeflag
리턴 string A Sieve script snippet.

check() 공개 메소드

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

requires() 공개 메소드

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