You are here

simplenews_handler_filter_newsletter_s_status.inc in Simplenews 6

Views filter for simplenews sent status.

File

simplenews_handler_filter_newsletter_s_status.inc
View source
<?php

/**
 * @file
 * Views filter for simplenews sent status.
 */

/**
 * Filter bases on newsletter sent status.
 */
class simplenews_handler_filter_newsletter_s_status extends views_handler_filter_in_operator {
  function get_value_options() {
    $this->value_options = array(
      SIMPLENEWS_STATUS_SEND_NOT => t('Not sent'),
      SIMPLENEWS_STATUS_SEND_PENDING => t('Pending'),
      SIMPLENEWS_STATUS_SEND_READY => t('Sent'),
    );
  }

}

Classes

Namesort descending Description
simplenews_handler_filter_newsletter_s_status Filter bases on newsletter sent status.