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;
}
}
-
-?>
\ No newline at end of file