projects
/
mw_sourceml
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syntaxe POO (visibilite) et maj indentation
[mw_sourceml]
/
app
/
controllers
/
sources
/
waveforms.php
diff --git
a/app/controllers/sources/waveforms.php
b/app/controllers/sources/waveforms.php
index
556f22d
..
884d9c1
100644
(file)
--- a/
app/controllers/sources/waveforms.php
+++ b/
app/controllers/sources/waveforms.php
@@
-40,14
+40,14
@@
*/
*/
- function validate(){
+
public
function validate(){
if(PHP_SAPI != "cli"){
return "utilisation en ligne de commande uniquement";
}
return true;
}
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")];
$env = $this->env();
$data = $env->data();
$id_source = $_GET[$env->param("id")];
@@
-123,7
+123,7
@@
}
}
}
}
- function make_all(){
+
public
function make_all(){
$env = $this->env();
$data = $env->data();
$base_url = $_GET[$env->param("from")];
$env = $this->env();
$data = $env->data();
$base_url = $_GET[$env->param("from")];
@@
-201,5
+201,3
@@
}
}
}
}
-
-?>
\ No newline at end of file