Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/modules/translation/views_handler_filter_node_tnid_child.inc
11 11
 * @ingroup views_filter_handlers
12 12
 */
13 13
class views_handler_filter_node_tnid_child extends views_handler_filter {
14
  function admin_summary() { }
15
  function operator_form(&$form, &$form_state) { }
16
  function can_expose() { return FALSE; }
17 14

  
18
  function query() {
15
  /**
16
   * {@inheritdoc}
17
   */
18
  public function admin_summary() {
19
  }
20

  
21
  /**
22
   * {@inheritdoc}
23
   */
24
  public function operator_form(&$form, &$form_state) {
25
  }
26

  
27
  /**
28
   * {@inheritdoc}
29
   */
30
  public function can_expose() {
31
    return FALSE;
32
  }
33

  
34
  /**
35
   * {@inheritdoc}
36
   */
37
  public function query() {
19 38
    $table = $this->ensure_my_table();
20 39
    $this->query->add_where_expression($this->options['group'], "$table.tnid <> $table.nid AND $table.tnid > 0");
21 40
  }
41

  
22 42
}

Formats disponibles : Unified diff