‪TYPO3CMS  ‪main
TYPO3\CMS\Styleguide\Form\Element\User1Element Class Reference
Inheritance diagram for TYPO3\CMS\Styleguide\Form\Element\User1Element:
TYPO3\CMS\Backend\Form\Element\AbstractFormElement TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

array< string, render():array { $result=$this-> initializeResultArray ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 injectNodeFactory (NodeFactory $nodeFactory)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)
 
array render ()
 

Public Attributes

 $parameters = $this->data['parameterArray']
 
 $html = []
 
 $attrs
 
 $result ['html'] = implode(chr(10), $html)
 
return $result
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
array renderFieldInformation ()
 
array renderFieldControl ()
 
array renderFieldWizard ()
 
 renderLabel (string $for)
 
 wrapWithFieldsetAndLegend (string $innerHTML)
 
 hasNullCheckboxButNoPlaceholder ()
 
 hasNullCheckboxWithPlaceholder ()
 
string formatValue ($format, $itemValue, $formatOptions=[])
 
int formMaxWidth ($size=48)
 
 resolveJavaScriptEvaluation (array $resultArray, string $name, ?object $evalObject)
 
string checkBoxParams (string $itemName, int $formElementValue, int $checkbox, int $checkboxesCount, array $fieldChangeFuncs=[], bool $invert=false)
 
 calculateColumnMarkup (int $cols)
 
 appendValueToLabelInDebugMode (string|int $label, string|int $value)
 
 getLanguageService ()
 
 getBackendUser ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
 getValidationDataAsJsonString (array $config)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
int $defaultInputWidth = 30
 
int $minimumInputWidth = 10
 
int $maxInputWidth = 50
 
NodeFactory $nodeFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

A user function rendering a type=user TCA type used in user_1

Definition at line 30 of file User1Element.php.

Member Function Documentation

◆ initializeResultArray()

array<string, render(): array { $result = $this-> TYPO3\CMS\Styleguide\Form\Element\User1Element::initializeResultArray ( )
Returns
‪array<string, array<int, string|JavaScriptModuleInstruction>|string> As defined in initializeResultArray() of AbstractNode

Reimplemented from TYPO3\CMS\Backend\Form\AbstractNode.

Member Data Documentation

◆ $attrs

TYPO3\CMS\Styleguide\Form\Element\User1Element::$attrs
Initial value:
= array_merge(
[
'type' => 'input',
'name' => ‪$parameters['itemFormElName'],
'value' => ‪$parameters['itemFormElValue'],
],
$this->getOnFieldChangeAttrs('change', ‪$parameters['fieldChangeFunc'] ?? [])
)

Definition at line 44 of file User1Element.php.

◆ $html

TYPO3\CMS\Styleguide\Form\Element\User1Element::$html[] = []

Definition at line 40 of file User1Element.php.

◆ $parameters

TYPO3\CMS\Styleguide\Form\Element\User1Element::$parameters = $this->data['parameterArray']

Definition at line 39 of file User1Element.php.

◆ $result [1/2]

TYPO3\CMS\Styleguide\Form\Element\User1Element::$result[ 'html'] = implode(chr(10), $html)

Definition at line 54 of file User1Element.php.

◆ $result [2/2]

return TYPO3\CMS\Styleguide\Form\Element\User1Element::$result

Definition at line 55 of file User1Element.php.

‪TYPO3\CMS\Styleguide\Form\Element\User1Element\$parameters
‪$parameters
Definition: User1Element.php:39