‪TYPO3CMS  10.4
TYPO3\CMS\Form\Domain\Model\FormElements\FileUpload Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\FormElements\FileUpload:
TYPO3\CMS\Form\Domain\Model\FormElements\AbstractFormElement TYPO3\CMS\Form\Domain\Model\Renderable\AbstractRenderable TYPO3\CMS\Form\Domain\Model\FormElements\FormElementInterface TYPO3\CMS\Form\Domain\Model\Renderable\RenderableInterface TYPO3\CMS\Form\Domain\Model\Renderable\VariableRenderableInterface TYPO3\CMS\Form\Domain\Model\Renderable\RenderableInterface TYPO3\CMS\Form\Domain\Model\Renderable\RootRenderableInterface TYPO3\CMS\Form\Domain\Model\Renderable\RootRenderableInterface

Public Member Functions

 initializeFormElement ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Form\Domain\Model\FormElements\AbstractFormElement
 __construct (string $identifier, string $type)
 
string getUniqueIdentifier ()
 
mixed getDefaultValue ()
 
 setDefaultValue ($defaultValue)
 
bool isRequired ()
 
 setProperty (string $key, $value)
 
array getProperties ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Form\Domain\Model\Renderable\AbstractRenderable
string getType ()
 
string getIdentifier ()
 
 setIdentifier (string $identifier)
 
 setOptions (array $options, bool $resetValidators=false)
 
mixed createValidator (string $validatorIdentifier, array $options=[])
 
 addValidator (ValidatorInterface $validator)
 
SplObjectStorage getValidators ()
 
 setDataType (string $dataType)
 
string getRendererClassName ()
 
array getRenderingOptions ()
 
mixed setRenderingOption (string $key, $value)
 
CompositeRenderableInterface null getParentRenderable ()
 
 setParentRenderable (CompositeRenderableInterface $parentRenderable)
 
FormDefinition getRootForm ()
 
 registerInFormIfPossible ()
 
 onRemoveFromParentRenderable ()
 
int getIndex ()
 
 setIndex (int $index)
 
string getLabel ()
 
 setLabel (string $label)
 
string getTemplateName ()
 
bool isEnabled ()
 
RenderableVariantInterface[] getVariants ()
 
RenderableVariantInterface createVariant (array $options)
 
 addVariant (RenderableVariantInterface $variant)
 
 applyVariant (RenderableVariantInterface $variant)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Form\Domain\Model\FormElements\FormElementInterface
 setRenderingOption (string $key, $value)
 
SplObjectStorage< ValidatorInterfacegetValidators ()
 
 addValidator (ValidatorInterface $validator)
 
 setDataType (string $dataType)
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Form\Domain\Model\FormElements\AbstractFormElement
array $properties = array( )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Form\Domain\Model\Renderable\AbstractRenderable
string $type
 
string $identifier
 
CompositeRenderableInterface $parentRenderable
 
string $label = ''
 
array $renderingOptions = array( )
 
int $index = 0
 
string $templateName = ''
 
array $variants = array( )
 

Detailed Description

A generic file upload form element

Scope: frontend

Definition at line 27 of file FileUpload.php.

Member Function Documentation

◆ initializeFormElement()

TYPO3\CMS\Form\Domain\Model\FormElements\FileUpload::initializeFormElement ( )

Initializes the Form Element by setting the data type to an Extbase File Reference

Reimplemented from TYPO3\CMS\Form\Domain\Model\FormElements\AbstractFormElement.

Definition at line 34 of file FileUpload.php.

References TYPO3\CMS\Form\Domain\Model\FormElements\FormElementInterface\setDataType().