Ejemplo n.º 1
0
 public function custom1($weekday)
 {
     $weekday_ptbr = i::weekday_ptBR($weekday);
     $day["Sun"] = "Whazaaaapp??? Sunday is the day of the week following Saturday but before Monday. Know as {$weekday_ptbr} in pt_BR";
     $day["Mon"] = "Hey.. today is Monday.. Monday is the day of the week between Sunday and Tuesday. pt_BR translated to {$weekday_ptbr}";
     $day["Tue"] = "Hey... today is Tue..";
     $day["Wed"] = "Yeah today is weed.. ops, Wed.";
     $day["Thu"] = "Hmmm..";
     $day["Fri"] = "TGIF!";
     $day["Sat"] = "SAT! :D";
     return $day[$weekday];
 }