X-Git-Url: http://git.dj3c1t.com/index.cgi?a=blobdiff_plain;f=app%2Fhelpers%2Fmw_helper_sourceml_out.php;h=8bb4636aed4a56f3bfa934ed19725512edce7cbd;hb=0b1ecd8b7536944d54d74ffc836982de3654d98b;hp=a1f962bc215f782b8205ab4bb77032b1cfaf747b;hpb=3647c6bed06b3a1e3e014ef5a21074e7a6192899;p=mw_sourceml diff --git a/app/helpers/mw_helper_sourceml_out.php b/app/helpers/mw_helper_sourceml_out.php index a1f962b..8bb4636 100644 --- a/app/helpers/mw_helper_sourceml_out.php +++ b/app/helpers/mw_helper_sourceml_out.php @@ -2,14 +2,14 @@ class mw_helper_sourceml_out extends mw_helper{ - function aff_date($date){ + public function aff_date($date){ if(preg_match("/([0-9]{2,4})-([0-9]{1,2})-([0-9]{1,2})/", $date, $regs)){ $date = $regs[3]." ".$this->mois($regs[2])." ".$regs[1]; } return $date; } - function mois($n){ + public function mois($n){ switch($n){ case 1: $mois = "jan"; break; case 2: $mois = "fev"; break; @@ -29,5 +29,3 @@ } } - -?> \ No newline at end of file