Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/aggregator/views_handler_argument_aggregator_fid.inc | ||
---|---|---|
11 | 11 |
* @ingroup views_argument_handlers |
12 | 12 |
*/ |
13 | 13 |
class views_handler_argument_aggregator_fid extends views_handler_argument_numeric { |
14 |
|
|
14 | 15 |
/** |
15 | 16 |
* Override the behavior of title(). Get the title of the feed. |
16 | 17 |
*/ |
17 |
function title_query() { |
|
18 |
public function title_query() {
|
|
18 | 19 |
$titles = array(); |
19 | 20 |
|
20 | 21 |
$result = db_query("SELECT f.title FROM {aggregator_feed} f WHERE f.fid IN (:fids)", array(':fids' => $this->value)); |
... | ... | |
23 | 24 |
} |
24 | 25 |
return $titles; |
25 | 26 |
} |
27 |
|
|
26 | 28 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules