syntaxe POO (visibilite) et maj indentation
[mw_sourceml] / app / controllers / sources / waveforms.php
index 556f22d..884d9c1 100644 (file)
   
   */
 
-    function validate(){
+    public function validate(){
       if(PHP_SAPI != "cli"){
         return "utilisation en ligne de commande uniquement";
       }
       return true;
     }
 
-    function make(){
+    public function make(){
       $env = $this->env();
       $data = $env->data();
       $id_source = $_GET[$env->param("id")];
       }
     }
 
-    function make_all(){
+    public function make_all(){
       $env = $this->env();
       $data = $env->data();
       $base_url = $_GET[$env->param("from")];
     }
 
   }
-
-?>
\ No newline at end of file