simplenews_handler_filter_newsletter_status.inc 447 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * @file
  4. * Views filter for simplenews sent status.
  5. */
  6. /**
  7. * Filter based on newsletter sent status.
  8. */
  9. class simplenews_handler_filter_newsletter_status extends views_handler_filter_in_operator {
  10. function get_value_options() {
  11. $this->value_options = array(
  12. SIMPLENEWS_STATUS_SEND_NOT => t('Not sent'),
  13. SIMPLENEWS_STATUS_SEND_PENDING => t('Pending'),
  14. SIMPLENEWS_STATUS_SEND_READY => t('Sent'),
  15. );
  16. }
  17. }