]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/exceptions/helper/class_FormOpenedException.php
Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / helper / class_FormOpenedException.php
index e964c7c33e0c3579f6ede88aafcf55fc899d93aa..aab6078d597b956689671e02be2b834724ce6e53 100644 (file)
@@ -3,11 +3,11 @@
  * An exception thrown when the form is still opened but we e.g. shall flush
  * the content.
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @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
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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