PHP 클래스 Ingo_Script_Maildrop_Recipe, horde

저자: Matt Weyland ([email protected])
저자: Jan Schneider ([email protected])
상속: implements Ingo_Script_Item
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_action
$_combine
$_conditions
$_disable
$_flags
$_operators
$_params
$_valid

공개 메소드들

메소드 설명
__construct ( array $params = [], array $scriptparams = [] ) Constructs a new maildrop recipe.
addCondition ( $condition = [] ) Adds a condition to the recipe.
addFlag ( string $flag ) Adds a flag to the recipe.
generate ( ) : string Generates maildrop code to represent the recipe.
maildropPath ( string $folder ) : string Returns a maildrop-ready mailbox path, converting IMAP folder pathname conventions as necessary.

메소드 상세

__construct() 공개 메소드

Constructs a new maildrop recipe.
public __construct ( array $params = [], array $scriptparams = [] )
$params array Array of parameters. REQUIRED FIELDS: 'action' OPTIONAL FIELDS: 'action-value' (only used if the 'action' requires it) 'combine' 'disable'
$scriptparams array Array of parameters passed to Ingo_Script_Maildrop::.

addCondition() 공개 메소드

Adds a condition to the recipe.
public addCondition ( $condition = [] )

addFlag() 공개 메소드

Adds a flag to the recipe.
public addFlag ( string $flag )
$flag string String of flags to append to the current flags.

generate() 공개 메소드

Generates maildrop code to represent the recipe.
public generate ( ) : string
리턴 string maildrop code to represent the recipe.

maildropPath() 공개 메소드

Returns a maildrop-ready mailbox path, converting IMAP folder pathname conventions as necessary.
public maildropPath ( string $folder ) : string
$folder string The IMAP folder name.
리턴 string The maildrop mailbox path.

프로퍼티 상세

$_action 보호되어 있는 프로퍼티

protected $_action

$_combine 보호되어 있는 프로퍼티

protected $_combine

$_conditions 보호되어 있는 프로퍼티

protected $_conditions

$_disable 보호되어 있는 프로퍼티

protected $_disable

$_flags 보호되어 있는 프로퍼티

protected $_flags

$_operators 보호되어 있는 프로퍼티

protected $_operators

$_params 보호되어 있는 프로퍼티

protected $_params

$_valid 보호되어 있는 프로퍼티

protected $_valid