class_FormOpenedException.php

Go to the documentation of this file.
00001 <?php
00025 class FormOpenedException extends FrameworkException {
00033         public function __construct (BaseHelper $helperInstance, $code) {
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         }
00044 }
00045 
00046 // [EOF]
00047 ?>

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