PHP 클래스 Horde_Spam_Base, horde

저자: Michael Slusarz ([email protected])
저자: Jan Schneider ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
report ( array $msgs, integer $action ) : integer Reports a list of messages as innocent/spam.
setLogger ( Horde_Log_Logger $logger ) Sets the log handler.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

report() 추상적인 공개 메소드

Reports a list of messages as innocent/spam.
abstract public report ( array $msgs, integer $action ) : integer
$msgs array List of message contents, either as streams or strings.
$action integer Either Horde_Spam::SPAM or Horde_Spam::INNOCENT.
리턴 integer The number of reported messages.

setLogger() 공개 메소드

Sets the log handler.
public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger The log handler.