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/aggregator/views_handler_argument_aggregator_category_cid.inc
11 11
 * @ingroup views_argument_handlers
12 12
 */
13 13
class views_handler_argument_aggregator_category_cid extends views_handler_argument_numeric {
14

  
14 15
  /**
15 16
   * Override the behavior of title(). Get the title of the category.
16 17
   */
17
  function title_query() {
18
  public function title_query() {
18 19
    $titles = array();
19 20

  
20 21
    $result = db_query("SELECT c.title FROM {aggregator_category} c WHERE c.cid IN (:cid)", array(':cid' => $this->value));
......
23 24
    }
24 25
    return $titles;
25 26
  }
27

  
26 28
}

Formats disponibles : Unified diff