TYPO3
7.6
|
Protected Member Functions | |
initStorageObjects () | |
The Element Domain Model represents the high-level view on the user submitted data using a nested hierarchy.
Definition at line 24 of file Element.php.
__construct | ( | ) |
Creates an instance.
Definition at line 128 of file Element.php.
References Element\initStorageObjects().
addChildElement | ( | Element | $element | ) |
Adds a child element
\TYPO3\CMS\Form\Domain\Model\Element | $element |
Definition at line 193 of file Element.php.
Referenced by FormBuilder\addChildElement().
getAdditionalArgument | ( | $key = '' | ) |
Get a single attribute value
string | $key |
Definition at line 170 of file Element.php.
Referenced by AggregateSelectOptionsViewHelper\checkElementForOptgroup(), CompatibilityLayerUtility\getDescriptionElementLayouts(), HandleIncomingFormValues\handleIncomingFormValues(), FormBuilder\handleIncomingValues(), FormBuilder\setAttributes(), and CompatibilityLayerUtility\setElementLayouts().
getAdditionalArguments | ( | ) |
Return a array with all the additional arguments to use it in the template
Definition at line 148 of file Element.php.
References Element\$additionalArguments.
getChildElements | ( | ) |
Returns the child elements
Definition at line 203 of file Element.php.
References Element\$childElements.
Referenced by AggregateSelectOptionsViewHelper\getChildElements(), and AggregateSelectOptionsViewHelper\render().
getElementCounter | ( | ) |
Returns the element counter
Definition at line 224 of file Element.php.
References Element\$elementCounter.
Referenced by AggregateSelectOptionsViewHelper\checkElementForOptgroup(), HandleIncomingFormValues\handleIncomingFormValues(), FormBuilder\setChildElementsByIntegerKey(), and CompatibilityLayerUtility\setElementLayouts().
getElementType | ( | ) |
Returns the element type
Definition at line 245 of file Element.php.
References Element\$elementType.
Referenced by AggregateSelectOptionsViewHelper\checkElementForOptgroup(), HandleIncomingFormValues\handleIncomingFormValues(), FormBuilder\reviveElement(), FormBuilder\setAttributes(), and CompatibilityLayerUtility\setElementLayouts().
getElementTypeLowerCase | ( | ) |
Returns the element type in lower case
Definition at line 255 of file Element.php.
Referenced by CompatibilityLayerUtility\setElementLayouts().
getHtmlAttribute | ( | $key = '' | ) |
Get a single html attribute value
string | $key |
Definition at line 330 of file Element.php.
Referenced by FormBuilder\handleIncomingValues(), HandleIncomingFormValues\setAttribute(), FormBuilder\setAttributes(), and CompatibilityLayerUtility\setElementLayouts().
getHtmlAttributes | ( | ) |
Returns the element html attributes and values
Definition at line 297 of file Element.php.
References Element\$htmlAttributes.
getId | ( | ) |
Returns the id attribute
Definition at line 352 of file Element.php.
References Element\$id.
Referenced by CompatibilityLayerUtility\setElementLayouts().
getLayout | ( | ) |
Returns the element layout
Definition at line 373 of file Element.php.
References Element\$layout.
Referenced by CompatibilityLayerUtility\setElementLayouts().
getMandatoryValidationMessages | ( | ) |
Returns the mandatory validation messages
Definition at line 394 of file Element.php.
References Element\$mandatoryValidationMessages.
getName | ( | ) |
Returns the name attribute
Definition at line 415 of file Element.php.
References Element\$name.
Referenced by CompatibilityLayerUtility\getDescriptionElementLayouts(), HandleIncomingFormValues\handleIncomingFormValues(), FormBuilder\handleIncomingValues(), and FormBuilder\setAttributes().
getParentElement | ( | ) |
Returns the parent element
Definition at line 436 of file Element.php.
References Element\$parentElement.
Referenced by HandleIncomingFormValues\handleIncomingFormValues().
getPartialPath | ( | ) |
Returns the fluid partial path for the element
Definition at line 457 of file Element.php.
References Element\$partialPath.
getShowElement | ( | ) |
Returns TRUE if the element should be displayed
Definition at line 478 of file Element.php.
References Element\$showElement.
getThemeName | ( | ) |
Returns the theme name
Definition at line 510 of file Element.php.
References Element\$themeName.
getValidationErrorMessages | ( | ) |
Returns the validation error messages
Definition at line 276 of file Element.php.
References Element\$validationErrorMessages.
Referenced by CompatibilityLayerUtility\getDescriptionElementLayouts().
|
protected |
Initializes all ObjectStorage properties.
Definition at line 138 of file Element.php.
Referenced by Element\__construct().
removeHtmlAttribute | ( | $key = '' | ) |
Remove a single html attribute
string | $key |
Definition at line 319 of file Element.php.
setAdditionalArgument | ( | $key = '' , |
|
$value = null |
|||
) |
Set a single attribute and value
string | $key | |
mixed | $value |
Definition at line 182 of file Element.php.
Referenced by HandleIncomingFormValues\handleIncomingFormValues(), FormBuilder\handleIncomingValues(), HandleIncomingFormValues\setAttribute(), FormBuilder\setAttributes(), and CompatibilityLayerUtility\setElementLayouts().
setAdditionalArguments | ( | $additionalArguments = array() | ) |
Sets a array with all the additional arguments to use it in the template
array | $additionalArguments |
Definition at line 159 of file Element.php.
References Element\$additionalArguments.
Referenced by FormBuilder\reviveElement(), and FormBuilder\setAttributes().
setChildElements | ( | ObjectStorage | $childElements | ) |
Sets the child elements
\TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Form\Domain\Model\Element> | $childElements |
Definition at line 214 of file Element.php.
References Element\$childElements.
setElementCounter | ( | $elementCounter = 0 | ) |
Sets the element counter
int | $elementCounter |
Definition at line 235 of file Element.php.
References Element\$elementCounter.
Referenced by FormBuilder\reviveElement().
setElementType | ( | $elementType | ) |
Sets the parent element
string | $elementType |
Definition at line 266 of file Element.php.
References Element\$elementType.
Referenced by FormBuilder\reviveElement().
setHtmlAttribute | ( | $key = '' , |
|
$value = null |
|||
) |
Set a single html attribute and value
string | $key | |
mixed | $value |
Definition at line 342 of file Element.php.
Referenced by FormBuilder\handleIncomingValues(), HandleIncomingFormValues\setAttribute(), and CompatibilityLayerUtility\setElementLayouts().
setHtmlAttributes | ( | $htmlAttributes = array() | ) |
Sets the element html attributes and values
array | $htmlAttributes |
Definition at line 308 of file Element.php.
References Element\$htmlAttributes.
Referenced by FormBuilder\setAttributes().
setId | ( | $id | ) |
Sets the id attribute
string | $id |
Definition at line 363 of file Element.php.
References Element\$id.
setLayout | ( | array | $layout | ) |
Sets the element layout
array | $layout |
Definition at line 384 of file Element.php.
References Element\$layout.
Referenced by CompatibilityLayerUtility\setElementLayouts().
setMandatoryValidationMessages | ( | array | $mandatoryValidationMessages | ) |
Sets the mandatory validation messages
array | $mandatoryValidationMessages |
Definition at line 405 of file Element.php.
References Element\$mandatoryValidationMessages.
setName | ( | $name | ) |
Sets the name attribute
string | $name |
Definition at line 426 of file Element.php.
References Element\$name.
setParentElement | ( | Element | $parentElement | ) |
Sets the parent element
\TYPO3\CMS\Form\Domain\Model\Element |
Definition at line 447 of file Element.php.
References Element\$parentElement.
setPartialPath | ( | $partialPath | ) |
Sets the fluid partial path for the element
string | $partialPath |
Definition at line 468 of file Element.php.
References Element\$partialPath.
setShowElement | ( | $showElement = false | ) |
TRUE if the element should be displayed
bool | $showElement |
Definition at line 489 of file Element.php.
References Element\$showElement.
setThemeName | ( | $themeName = 'Default' | ) |
Set the theme name
string |
Definition at line 500 of file Element.php.
References Element\$themeName.
setValidationErrorMessages | ( | array | $validationErrorMessages | ) |
Sets the validation error messages
array | $validationErrorMessages |
Definition at line 287 of file Element.php.
References Element\$validationErrorMessages.
|
protected |
Definition at line 31 of file Element.php.
Referenced by Element\getAdditionalArguments(), and Element\setAdditionalArguments().
|
protected |
Definition at line 38 of file Element.php.
Referenced by Element\getChildElements(), and Element\setChildElements().
|
protected |
Definition at line 45 of file Element.php.
Referenced by Element\getElementCounter(), and Element\setElementCounter().
|
protected |
Definition at line 52 of file Element.php.
Referenced by Element\getElementType(), and Element\setElementType().
|
protected |
Definition at line 66 of file Element.php.
Referenced by Element\getHtmlAttributes(), and Element\setHtmlAttributes().
|
protected |
Definition at line 73 of file Element.php.
Referenced by Element\getId(), and Element\setId().
|
protected |
Definition at line 81 of file Element.php.
Referenced by Element\getLayout(), and Element\setLayout().
|
protected |
Definition at line 88 of file Element.php.
Referenced by Element\getMandatoryValidationMessages(), and Element\setMandatoryValidationMessages().
|
protected |
Definition at line 95 of file Element.php.
Referenced by Element\getName(), and Element\setName().
|
protected |
Definition at line 102 of file Element.php.
Referenced by Element\getParentElement(), and Element\setParentElement().
|
protected |
Definition at line 109 of file Element.php.
Referenced by Element\getPartialPath(), and Element\setPartialPath().
|
protected |
Definition at line 116 of file Element.php.
Referenced by Element\getShowElement(), and Element\setShowElement().
|
protected |
Definition at line 123 of file Element.php.
Referenced by Element\getThemeName(), and Element\setThemeName().
|
protected |
Definition at line 59 of file Element.php.
Referenced by Element\getValidationErrorMessages(), and Element\setValidationErrorMessages().