Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/user/views_handler_filter_user_current.inc | ||
---|---|---|
11 | 11 |
* @ingroup views_filter_handlers |
12 | 12 |
*/ |
13 | 13 |
class views_handler_filter_user_current extends views_handler_filter_boolean_operator { |
14 |
function construct() { |
|
14 |
|
|
15 |
/** |
|
16 |
* {@inheritdoc} |
|
17 |
*/ |
|
18 |
public function construct() { |
|
15 | 19 |
parent::construct(); |
16 | 20 |
$this->value_value = t('Is the logged in user'); |
17 | 21 |
} |
18 | 22 |
|
19 |
function query() { |
|
23 |
/** |
|
24 |
* {@inheritdoc} |
|
25 |
*/ |
|
26 |
public function query() { |
|
20 | 27 |
$this->ensure_my_table(); |
21 | 28 |
|
22 | 29 |
$field = $this->table_alias . '.' . $this->real_field . ' '; |
... | ... | |
33 | 40 |
} |
34 | 41 |
$this->query->add_where($this->options['group'], $or); |
35 | 42 |
} |
43 |
|
|
36 | 44 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules