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                 // Add a message around the missing class
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                 // Call parent constructor
00037                 parent::__construct($message, $code);
00038         }
00039 }
00040 
00041 // [EOF]
00042 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6