Trace:
Differences ¶
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:tutorials:modules:jevent [2012/01/31 12:33] – created foxmask | en:tutorials:modules:jevent [2012/01/31 12:45] – [le listener] 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: | ||