Changeset 66151 in spip-zone


Ignore:
Timestamp:
Sep 22, 2012, 6:21:04 PM (7 years ago)
Author:
joseph@…
Message:

Les évènements peuvent hériter une composition des articles.

Location:
_plugins_/agenda/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/agenda/trunk/agenda_pipelines.php

    r66030 r66151  
    182182        return $flux;
    183183}
     184
     185/**
     186 * Les evenements peuvent heriter des compositions des articles
     187 * @param array $heritages
     188 * @return array
     189 */
     190function agenda_compositions_declarer_heritage($heritages) {
     191        $heritages['evenement'] = 'article';
     192        return $heritages;
     193}
     194
     195
    184196?>
  • _plugins_/agenda/trunk/paquet.xml

    r66146 r66151  
    3333        <pipeline nom="quete_calendrier_prive" inclure="agenda_pipelines.php" />
    3434        <pipeline nom="post_edition" inclure="agenda_pipelines.php" />
     35        <pipeline nom="compositions_declarer_heritage"  inclure="agenda_pipelines.php" />
    3536
    3637        <utilise nom="Fulltext" compatibilite="[0.2;[" />
Note: See TracChangeset for help on using the changeset viewer.