]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/helper/web/forms/class_WebFormHelper.php
Some wrongly rewritten quotes fixed
[core.git] / inc / classes / main / helper / web / forms / class_WebFormHelper.php
index 1fffb7af1d9c215d0de1850bce4190ee0bf92aa6..e20545f0d254246a2e90694eae6073aaed0be568 100644 (file)
@@ -4,7 +4,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 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -31,7 +31,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
        /**
         * Name of the form
         */
-       private $formName = "";
+       private $formName = '';
 
        /**
         * Wether form tag is enabled (default: true)
@@ -162,7 +162,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
         * @return      void
         * @throws      FormClosedException             If the form is not yet opened
         */
-       public function addInputTextField ($fieldName, $fieldValue = "") {
+       public function addInputTextField ($fieldName, $fieldValue = '') {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
@@ -204,7 +204,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
         * @return      void
         * @throws      FormClosedException             If the form is not yet opened
         */
-       public function addInputPasswordField ($fieldName, $fieldValue = "") {
+       public function addInputPasswordField ($fieldName, $fieldValue = '') {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
@@ -231,7 +231,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
         * @return      void
         * @throws      FormClosedException             If the form is not yet opened
         */
-       public function addInputHiddenField ($fieldName, $fieldValue = "") {
+       public function addInputHiddenField ($fieldName, $fieldValue = '') {
                // Is the form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw an exception
@@ -370,7 +370,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
         * @throws      FormClosedException             If no form has been opened before
         * @throws      EmptyVariableException  If $groupId is not set
         */
-       public function addFormGroup ($groupId = "", $groupText = "") {
+       public function addFormGroup ($groupId = '', $groupText = '') {
                // Is a form opened?
                if (($this->formOpened === false) && ($this->formEnabled === true)) {
                        // Throw exception here
@@ -445,7 +445,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate {
         * @throws      FormFormClosedException         If no group has been opened before
         * @throws      EmptyVariableException          If $subGroupId is not set
         */
-       public function addFormSubGroup ($subGroupId = "", $subGroupText = "") {
+       public function addFormSubGroup ($subGroupId = '', $subGroupText = '') {
                // Is a group opened?
                if ($this->ifGroupOpenedPreviously() === false) {
                        // Throw exception here