FormOpenedException.__construct ( BaseHelper helperInstance,
code 
)

The constructor.

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

Definition at line 33 of file class_FormOpenedException.php.

References FrameworkException.__toString().

00033                                                                         {
00034                 // Add a message around the missing class
00035                 $message = sprintf("[%s:%d] Form is not yet closed. Close it with method <u>%s::addFormTag()</u> and add no parameters.",
00036                         $helperInstance->__toString(),
00037                         $this->getLine(),
00038                         $helperInstance->__toString()
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:10 2008 for Ship-Simulator by  doxygen 1.5.6