Trace:
Differences ¶
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:tutorials:modules:jevent [2012/01/31 12:33] – created foxmask | en:tutorials:modules:jevent [2012/01/31 12:56] (current) – [Conclusion] foxmask | ||
|---|---|---|---|
| Line 52: | Line 52: | ||
| </ | </ | ||
| - | ===== le template ===== | + | ===== the template ===== |
| < | < | ||
| - | <h1>Liste des modules </h1> | + | <h1>List of modules </h1> |
| {if count($modules)} | {if count($modules)} | ||
| {assign $count = count($modules)} | {assign $count = count($modules)} | ||
| Line 68: | Line 68: | ||
| </ | </ | ||
| - | Bon ok on visualise un peu ce qui va se passer | + | Good so we see a little bit what will happened |
| - | A tout jEvent:: | + | To all jEvent:: |
| - | - définition d'un fichier | + | - defining an events.xml |
| - | - définition du listener | + | - defining of the listener |
| - | ===== fichier | + | ===== events.xml |
| <code xml> | <code xml> | ||
| Line 86: | Line 86: | ||
| </ | </ | ||
| - | On retrouve bien ici le nom de l' | + | We will find here the name of the event **HfnuAboutModule** |
| - | ===== le listener ===== | + | ===== the listener ===== |
| <code php> | <code php> | ||
| Line 99: | Line 99: | ||
| </ | </ | ||
| - | lorsque | + | when **HfnuAboutModule** |
| - | $event-> | + | @@$event-> |
| + | ([[en:tutorials: | ||
| - | ===== la zone ===== | + | ===== the zone ===== |
| <code php> | <code php> | ||
| Line 121: | Line 122: | ||
| </ | </ | ||
| - | notre zone ici récupère le paramètre du nom du module, | + | our zone retrieve the parameter of the name of the module, |
| - | ===== le template ===== | + | ===== the template ===== |
| < | < | ||
| Line 141: | Line 142: | ||
| </ | </ | ||
| - | Résultat | + | Result: |
| - | + | ||
| - | Liste des modules | + | |
| + | < | ||
| + | List des modules | ||
| + | Name : | ||
| News! | News! | ||
| - | |||
| Version : | Version : | ||
| - | stable 1.1.2 (du 2008-12-16) | + | stable 1.1.2 (2008-12-16) |
| - | Libellé | + | Label : |
| - | Module | + | Module |
| Description : | Description : | ||
| - | | + | |
| Notes : | Notes : | ||
| N/A | N/A | ||
| Line 159: | Line 160: | ||
| Copyright : | Copyright : | ||
| 2008 FoxMaSk | 2008 FoxMaSk | ||
| - | Auteurs | + | Authors |
| FoxMaSk | FoxMaSk | ||
| - | Liens : | + | Links : |
| - | | + | |
| - | + | ||
| + | Name : | ||
| Wiki | Wiki | ||
| - | |||
| Version : | Version : | ||
| - | stable 1.0.2 (du 2009-01-25) | + | stable 1.0.2 (2009-01-25) |
| Libellé : | Libellé : | ||
| Wiki | Wiki | ||
| Description : | Description : | ||
| - | Wiki maison pour la documentation | + | Wiki home made for the documentation |
| Notes : | Notes : | ||
| N/A | N/A | ||
| Line 178: | Line 179: | ||
| Copyright : | Copyright : | ||
| 2008 FoxMaSk | 2008 FoxMaSk | ||
| - | Auteurs | + | Authors |
| FoxMaSk | FoxMaSk | ||
| - | Liens | + | Links |
| - | | + | |
| - | + | </ | |
| - | PS : ici je n'ai pas détaillé tous les events.xml | + | PS : here I didnt detailled of the events.xml |
| ===== Conclusion ===== | ===== Conclusion ===== | ||
| - | Voici donc la perle ; qui en quelques petites lignes ; a permis à tous les modules | + | Here is the pearl, which in a few short lines, has permitted to all the modules |
| - | La même mécanique des jEvent:: | + | The same mechanics @@C@jEvents::notify()@@ allows to chain of such shares after the registration of a member |
| - | jEvent:: | + | @@C@jEvents::notify()@@ can also enhance the functionality of a module A via other modules B, C, D without changing the module A, etc ... |
| - | [[http:// | + | [[http:// |

