TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement:
TYPO3\CMS\Form\Domain\Model\Json\ContainerJsonElement TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement tx_form_Domain_Model_JSON_Form

Public Member Functions

 setParameters (array $parameters)
 
- Public Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Json\ContainerJsonElement
 addElement (\TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement $element)
 
- Public Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
 setParameters (array $parameters)
 
 childElementsAllowed ()
 

Public Attributes

 $xtype = 'typo3-form-wizard-elements-basic-form'
 
 $configuration
 
- Public Attributes inherited from TYPO3\CMS\Form\Domain\Model\Json\ContainerJsonElement
 $elementContainer
 
- Public Attributes inherited from TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
 $xtype = ''
 
 $configuration = array()
 

Protected Member Functions

 setConfirmation (array $parameters)
 
 setPostProcessors (array $parameters)
 
 setPrefix (array $parameters)
 
- Protected Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
 setAttributes (array $parameters)
 
 setFilters (array $parameters)
 
 setLabel (array $parameters)
 
 setLayout (array $parameters)
 
 setValidation (array $parameters)
 

Protected Attributes

 $allowedAttributes
 
- Protected Attributes inherited from TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
 $allowedAttributes = array()
 
 $childElementsAllowed = TRUE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! JSON form

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file FormJsonElement.php.

Member Function Documentation

◆ setConfirmation()

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::setConfirmation ( array  $parameters)
protected

Set the confirmation message boolean

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 82 of file FormJsonElement.php.

Referenced by TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setParameters().

◆ setParameters()

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::setParameters ( array  $parameters)

Set all the parameters for this object

Parameters
array$parametersConfiguration array
Returns
void
See also
::setParameters()

Definition at line 69 of file FormJsonElement.php.

References TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setConfirmation(), TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setPostProcessors(), and TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setPrefix().

◆ setPostProcessors()

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::setPostProcessors ( array  $parameters)
protected

Set the post processors and their configuration

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 94 of file FormJsonElement.php.

Referenced by TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setParameters().

◆ setPrefix()

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::setPrefix ( array  $parameters)
protected

Set the prefix

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 122 of file FormJsonElement.php.

Referenced by TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement\setParameters().

Member Data Documentation

◆ $allowedAttributes

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::$allowedAttributes
protected
Initial value:
= array(
'accept',
'accept-charset',
'action',
'class',
'dir',
'enctype',
'id',
'lang',
'method',
'style',
'title'
)

Definition at line 48 of file FormJsonElement.php.

◆ $configuration

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::$configuration
Initial value:
= array(
'attributes' => array(),
'prefix' => 'tx_form',
'confirmation' => TRUE,
'postProcessor' => array()
)

Definition at line 36 of file FormJsonElement.php.

◆ $xtype

TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement::$xtype = 'typo3-form-wizard-elements-basic-form'

Definition at line 29 of file FormJsonElement.php.