Projet

Général

Profil

Révision 32700c57

Ajouté par Assos Assos il y a environ 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_views/handlers/ldap_views_handler_argument.inc
2 2

  
3 3
/**
4 4
 * @file
5
 * Basic textfield argument to handle known ldap attributes
5
 * Basic textfield argument to handle known ldap attributes.
6 6
 */
7 7

  
8
/**
9
 *
10
 */
8 11
class ldap_views_handler_argument extends views_handler_argument {
9 12

  
10 13
  /**
11
   * Build the query based upon the formula
14
   * Build the query based upon the formula.
12 15
   */
13
  function query() {
16
  public function query() {
14 17
    if ($this->real_field == 'basedn' || $this->real_field == 'filter') {
15 18
      $add_method = 'add_' . $this->real_field;
16 19
      $this->query->$add_method($this->argument);
......
19 22
      $this->query->add_where(0, $this->real_field, $this->argument, '=');
20 23
    }
21 24
  }
25

  
22 26
}

Formats disponibles : Unified diff