creation du fichier mw_hello.php
[mw_hello] / mw_hello.php
1 <?php
2
3   class mw_hello extends mw_plugin{
4
5     function title(){
6       return "Hello World !";
7     }
8
9     function description(){
10       return "Un plugin qui affiche une page Hello World ! avec une citation alĂ©atoire";
11     }
12
13     function install($env){
14       return true;
15     }
16
17     function uninstall($env){
18       return true;
19     }
20
21     function enable($env){
22       return true;
23     }
24
25     function disable($env){
26       return true;
27     }
28
29     function init($env){
30       return true;
31     }
32
33   }
34
35 ?>