Double to single quotes converted
authorRoland Häder <roland@mxchange.org>
Sat, 22 Aug 2009 00:59:33 +0000 (00:59 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Aug 2009 00:59:33 +0000 (00:59 +0000)
inc/classes/main/helper/class_BaseHelper.php
inc/classes/main/helper/web/forms/class_WebFormHelper.php

index 81e4197c378f73d1aa14d24d44f93f37003c1ee7..7a0a77b6c1cbf0584bbb8e86a6bfb9abffbb18c6 100644 (file)
@@ -402,7 +402,7 @@ class BaseHelper extends BaseFrameworkSystem {
 
                // Now "walk" through all groups and sub-groups
                for ($idx = 1; $idx <= $this->totalCounter; $idx++) {
-                       // Is this a group and is it closed?
+                       // Is this a sub/group and is it closed?
                        if ((isset($this->groups[$idx])) && ($this->groups[$this->groups[$idx]]['opened'] === false)) {
                                // Then add it's content
                                $groupContent = trim($this->groups[$this->groups[$idx]]['content']);
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?