FormClosedException.__construct ( array $  classArray,
code 
)

The constructor.

Parameters:
$classArray Class throwing the exception
$code Code number for the exception
Returns:
void

Definition at line 33 of file class_FormClosedException.php.

References FrameworkException.__toString().

00033                                                                {
00034                 // Add a message around the missing class
00035                 $message = sprintf("[%s:%d] Could not add form element <span class=\"exception_reason\">%s</span> because form is closed.",
00036                         $classArray[0]->__toString(),
00037                         $this->getLine(),
00038                         $classArray[1]
00039                 );
00040 
00041                 // Call parent constructor
00042                 parent::__construct($message, $code);
00043         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:12:09 2008 for Ship-Simulator by  doxygen 1.5.6