Révision 8be7bf84
Ajouté par Assos Assos il y a environ 5 ans
drupal7/sites/all/modules/views/handlers/views_handler_argument_date.inc | ||
---|---|---|
17 | 17 |
* Definitions terms: |
18 | 18 |
* - many to one: If true, the "many to one" helper will be used. |
19 | 19 |
* - invalid input: A string to give to the user for obviously invalid input. |
20 |
* This is deprecated in favor of argument validators.
|
|
20 |
* This is deprecated in favor of argument validators. |
|
21 | 21 |
* |
22 | 22 |
* @see views_many_to_one_helper() |
23 | 23 |
* |
... | ... | |
26 | 26 |
class views_handler_argument_date extends views_handler_argument_formula { |
27 | 27 |
|
28 | 28 |
/** |
29 |
* |
|
29 |
* @var string
|
|
30 | 30 |
*/ |
31 | 31 |
public $option_name = 'default_argument_date'; |
32 | 32 |
|
33 | 33 |
/** |
34 |
* |
|
34 |
* @var string
|
|
35 | 35 |
*/ |
36 | 36 |
public $arg_format = 'Y-m-d'; |
37 | 37 |
|
... | ... | |
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
/** |
49 |
* Set the empty argument value to the current date,
|
|
49 |
* Set the empty argument value to the current date.
|
|
50 | 50 |
* |
51 |
* formatted appropriately for this argument.
|
|
51 |
* Formatted appropriately for this argument.
|
|
52 | 52 |
* |
53 | 53 |
* @return string |
54 | 54 |
* The default argument. |
Formats disponibles : Unified diff
Weekly update of contrib modules