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.
Пример #1
0
 public function _testReportHamSuccess(Horde_Spam_Base $spam, $stream = false)
 {
     $content = $stream ? fopen($this->ham_file, 'r') : $this->ham;
     $this->assertEquals(1, $spam->report(array($content), Horde_Spam::INNOCENT));
 }