Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / helper / class_FormOpenedException.php
index c2aafbd207d7219ea2669bd45b8562f9da8dd48f..aab6078d597b956689671e02be2b834724ce6e53 100644 (file)
@@ -5,7 +5,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -26,16 +26,16 @@ class FormOpenedException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $class          Class throwing the exception
-        * @param               $code                   Code number for the exception
+        * @param       $helperInstance         Class throwing the exception
+        * @param       $code                           Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (BaseHelper $helperInstance, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Form is not yet closed. Close it with method <u>%s::addFormTag()</u> and add no parameters.",
-                       $class->__toString(),
+                       $helperInstance->__toString(),
                        $this->getLine(),
-                       $class->__toString()
+                       $helperInstance->__toString()
                );
 
                // Call parent constructor