TYPO3
7.6
|
Public Member Functions | |
render () | |
Public Member Functions inherited from AbstractFormElement | |
__construct (NodeFactory $nodeFactory, array $data) | |
Public Member Functions inherited from AbstractNode | |
__construct (NodeFactory $nodeFactory, array $data) | |
render () | |
Protected Member Functions | |
renderSingleCheckboxElement ($label, $itemCounter, $formElementValue, $numberOfItems, $additionalInformation, $disabled) | |
checkBoxParams ($itemName, $formElementValue, $checkbox, $checkboxesCount, $additionalJavaScript= '') | |
Protected Member Functions inherited from AbstractFormElement | |
isWizardsDisabled () | |
formMaxWidth ($size=48) | |
getClipboardElements ($allowed, $mode) | |
getLanguageService () | |
Protected Member Functions inherited from AbstractNode | |
initializeResultArray () | |
mergeChildReturnIntoExistingResult (array $existing, array $childReturn) | |
getValidationDataAsDataAttribute (array $config) | |
getValidationDataAsJsonString (array $config) | |
Additional Inherited Members | |
Protected Attributes inherited from AbstractFormElement | |
$defaultInputWidth = 30 | |
$minimumInputWidth = 10 | |
$maxInputWidth = 50 | |
$clipboard = null | |
$iconFactory | |
Generation of TCEform elements of the type "check"
Definition at line 22 of file CheckboxElement.php.
|
protected |
Creates checkbox parameters
string | $itemName | Form element name |
int | $formElementValue | The value of the checkbox (representing checkboxes with the bits) |
int | $checkbox | Checkbox # (0-9?) |
int | $checkboxesCount | Total number of checkboxes in the array. |
string | $additionalJavaScript | Additional JavaScript for the onclick handler. |
Definition at line 157 of file CheckboxElement.php.
Referenced by CheckboxElement\renderSingleCheckboxElement().
render | ( | ) |
This will render a checkbox or an array of checkboxes
Implements NodeInterface.
Definition at line 29 of file CheckboxElement.php.
References elseif, AbstractNode\initializeResultArray(), and CheckboxElement\renderSingleCheckboxElement().
|
protected |
This functions builds the HTML output for the checkbox
string | $label | Label of this item |
int | $itemCounter | Number of this element in the list of all elements |
int | $formElementValue | Value of this element |
int | $numberOfItems | Full number of items |
array | $additionalInformation | Information with additional configuration options. |
bool | $disabled | TRUE if form element is disabled |
Definition at line 120 of file CheckboxElement.php.
References CheckboxElement\checkBoxParams().
Referenced by CheckboxElement\render().