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/user/views_handler_argument_user_uid.inc
2 2

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

  
8 8
/**
......
11 11
 * @ingroup views_argument_handlers
12 12
 */
13 13
class views_handler_argument_user_uid extends views_handler_argument_numeric {
14

  
14 15
  /**
15 16
   * Override the behavior of title(). Get the name of the user.
16 17
   *
17 18
   * @return array
18 19
   *    A list of usernames.
19 20
   */
20
  function title_query() {
21
  public function title_query() {
21 22
    if (!$this->argument) {
22 23
      return array(variable_get('anonymous', t('Anonymous')));
23 24
    }
......
30 31
    }
31 32
    return $titles;
32 33
  }
34

  
33 35
}

Formats disponibles : Unified diff