Révision ed9a13f1
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/feeds/views/feeds_views_handler_argument_importer_id.inc | ||
---|---|---|
4 | 4 |
* @file |
5 | 5 |
* Argument handler for importer ids. |
6 | 6 |
*/ |
7 |
|
|
8 |
/** |
|
9 |
* |
|
10 |
*/ |
|
7 | 11 |
class feeds_views_handler_argument_importer_id extends views_handler_argument_string { |
8 | 12 |
|
9 | 13 |
/** |
10 | 14 |
* Argument must be a valid importer id. |
11 | 15 |
*/ |
12 |
function validate_arg($arg) { |
|
16 |
public function validate_arg($arg) {
|
|
13 | 17 |
// By using % in URLs, arguments could be validated twice; this eases |
14 | 18 |
// that pain. |
15 | 19 |
if (isset($this->argument_validated)) { |
... | ... | |
21 | 25 |
} |
22 | 26 |
return $this->argument_validated; |
23 | 27 |
} |
28 |
|
|
24 | 29 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules