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/comment/views_handler_argument_comment_user_uid.inc
12 12
 * @ingroup views_argument_handlers
13 13
 */
14 14
class views_handler_argument_comment_user_uid extends views_handler_argument {
15
  function title() {
15

  
16
  /**
17
   * {@inheritdoc}
18
   */
19
  public function title() {
16 20
    if (!$this->argument) {
17 21
      $title = variable_get('anonymous', t('Anonymous'));
18 22
    }
......
26 30
    return check_plain($title);
27 31
  }
28 32

  
29
  function default_actions($which = NULL) {
33
  /**
34
   * {@inheritdoc}
35
   */
36
  public function default_actions($which = NULL) {
30 37
    // Disallow summary views on this argument.
31 38
    if (!$which) {
32 39
      $actions = parent::default_actions();
......
40 47
    }
41 48
  }
42 49

  
43
  function query($group_by = FALSE) {
50
  /**
51
   * {@inheritdoc}
52
   */
53
  public function query($group_by = FALSE) {
44 54
    $this->ensure_my_table();
45 55

  
46 56
    $subselect = db_select('comment', 'c');
......
55 65
    $this->query->add_where(0, $condition);
56 66
  }
57 67

  
58
  function get_sort_name() {
68
  /**
69
   * {@inheritdoc}
70
   */
71
  public function get_sort_name() {
59 72
    return t('Numerical', array(), array('context' => 'Sort order'));
60 73
  }
74

  
61 75
}

Formats disponibles : Unified diff