[~BUGFIX] Fluid (ViewHelpers): Fixed a half-finished documentation. Related to #5638.
authorSebastian Kurfürst <sebastian@typo3.org>
Tue, 15 Jun 2010 17:33:21 +0000 (17:33 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Tue, 15 Jun 2010 17:33:21 +0000 (17:33 +0000)
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php

index e7825d2..0bf6894 100644 (file)
@@ -117,7 +117,10 @@ class Tx_Fluid_ViewHelpers_Form_CheckboxViewHelper extends Tx_Fluid_ViewHelpers_
        }
        
        /**
-        * Renders a hidden field with the same name as the element, to make sure the 
+        * Renders a hidden field with the same name as the element, to make sure the empty value is submitted
+        * in case the checkbox is not selected.
+        * 
+        * @return string the hidden field.
         */
        protected function renderHiddenFieldForEmptyValue() {
                if ($this->viewHelperVariableContainer->exists('Tx_Fluid_ViewHelpers_Form_CheckboxViewHelper', 'checkboxFieldNames')) {