PHP 클래스 IMP_Spam, horde

저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_action integer Action.
$_drivers array Driver list.

공개 메소드들

메소드 설명
__construct ( integer $action, array $drivers = [] ) Constructor.
report ( IMP_Indices $indices ) : integer Reports a list of messages as innocent/spam.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( integer $action, array $drivers = [] )
$action integer Either IMP_Spam::SPAM or IMP_Spam::INNOCENT.
$drivers array List of reporting drivers.

report() 공개 메소드

Reports a list of messages as innocent/spam.
public report ( IMP_Indices $indices ) : integer
$indices IMP_Indices An indices object.
리턴 integer 1 if messages have been deleted, 2 if messages have been moved.

프로퍼티 상세

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

Action.
protected int $_action
리턴 integer

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

Driver list.
protected array $_drivers
리턴 array