MailhandlerFiltersComments.class.php in Mailhandler 7.2
Same filename and directory in other branches
MailhandlerFiltersComments class.
File
plugins/mailhandler/filters/MailhandlerFiltersComments.class.phpView source
<?php
/**
* @file
* MailhandlerFiltersComments class.
*/
/**
* Filter to return comments.
*/
class MailhandlerFiltersComments extends MailhandlerFilters {
/**
* Whether or not to fetch message, based on headers.
*
* @param array $header
* Message headers
*
* @return bool
* TRUE if comment, FALSE otherwise
*/
public function fetch($header) {
return isset($header->in_reply_to);
}
}
Classes
Name | Description |
---|---|
MailhandlerFiltersComments | Filter to return comments. |