Projet

Général

Profil

Paste
Télécharger (487 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / modules / comment / views_handler_filter_node_comment.inc @ 5d12d676

1
<?php
2

    
3
/**
4
 * @file
5
 * Definition of views_handler_filter_node_comment.
6
 */
7

    
8
/**
9
 * Filter based on comment node status.
10
 *
11
 * @ingroup views_filter_handlers
12
 */
13
class views_handler_filter_node_comment extends views_handler_filter_in_operator {
14

    
15
  /**
16
   * {@inheritdoc}
17
   */
18
  public function get_value_options() {
19
    $this->value_options = array(
20
      COMMENT_NODE_HIDDEN => t('Hidden'),
21
      COMMENT_NODE_CLOSED => t('Closed'),
22
      COMMENT_NODE_OPEN => t('Open'),
23
    );
24
  }
25

    
26
}