From: Roland Häder Date: Sat, 22 Aug 2009 00:59:33 +0000 (+0000) Subject: Double to single quotes converted X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b62e63b770f153ad80c2dcf4f85b9111f1618469;p=core.git Double to single quotes converted --- diff --git a/inc/classes/main/helper/class_BaseHelper.php b/inc/classes/main/helper/class_BaseHelper.php index 81e4197c..7a0a77b6 100644 --- a/inc/classes/main/helper/class_BaseHelper.php +++ b/inc/classes/main/helper/class_BaseHelper.php @@ -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']); diff --git a/inc/classes/main/helper/web/forms/class_WebFormHelper.php b/inc/classes/main/helper/web/forms/class_WebFormHelper.php index b91f646a..adfe7be4 100644 --- a/inc/classes/main/helper/web/forms/class_WebFormHelper.php +++ b/inc/classes/main/helper/web/forms/class_WebFormHelper.php @@ -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?