class_BirthdayInvalidException.php
Go to the documentation of this file.00001 <?php
00024 class BirthdayInvalidException extends FrameworkException {
00025 public function __construct (array $birthArray, $code) {
00026
00027 $message = sprintf("Das Geburtsdatum <span class=\"exception_reason\">%s</span> ist leider falsch.",
00028 date("d.m.Y", mktime(
00029 0, 0, 0,
00030 $birthArray[1],
00031 $birthArray[2],
00032 $birthArray[0]
00033 ))
00034 );
00035
00036
00037 parent::__construct($message, $code);
00038 }
00039 }
00040
00041
00042 ?>