]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/helper/web/forms/class_WebFormHelper.php
Double to single quotes converted
[core.git] / inc / classes / main / helper / web / forms / class_WebFormHelper.php
index b91f646adba48305fbe3ee1ebe344a27d15ba925..adfe7be412eb66e1e06e3d22209170f019b507fd 100644 (file)
@@ -322,7 +322,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
-                       throw new FormClosedException (array($this, "reset"), self::EXCEPTION_CLOSED_FORM);
+                       throw new FormClosedException (array($this, 'reset'), self::EXCEPTION_CLOSED_FORM);
                } // END - if
 
                // Generate the content
@@ -347,7 +347,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
-                       throw new FormClosedException (array($this, "submit"), self::EXCEPTION_CLOSED_FORM);
+                       throw new FormClosedException (array($this, 'submit'), self::EXCEPTION_CLOSED_FORM);
                } // END - if
 
                // Generate the content
@@ -519,8 +519,8 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                } // END - if
 
                // Set the block type
-               $block = "div";
-               if ($this->ifGroupOpenedPreviously()) $block = "span";
+               $block = 'div';
+               if ($this->ifGroupOpenedPreviously()) $block = 'span';
 
                // Generate the content
                $inputContent = sprintf("       <%s id=\"%s_text\">
@@ -549,7 +549,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
-                       throw new FormClosedException (array($this, "form_notes"), self::EXCEPTION_CLOSED_FORM);
+                       throw new FormClosedException (array($this, 'form_notes'), self::EXCEPTION_CLOSED_FORM);
                } // END - if
 
                // Generate the content
@@ -577,7 +577,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
                // Is the form group opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
-                       throw new FormClosedException (array($this, "form_notes"), self::EXCEPTION_CLOSED_FORM);
+                       throw new FormClosedException (array($this, 'form_notes'), self::EXCEPTION_CLOSED_FORM);
                } // END - if
 
                // Shall we close or open the sub group?