TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement:
TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement tx_form_Domain_Model_JSON_Select

Public Member Functions

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

Public Attributes

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

Protected Member Functions

 setOptions (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
 
 $childElementsAllowed = FALSE
 
- 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 select

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 SelectJsonElement.php.

Member Function Documentation

◆ setOptions()

TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement::setOptions ( array  $parameters)
protected

Set the options for this object

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 85 of file SelectJsonElement.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\sortedKeyList().

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

◆ setParameters()

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

Set all the parameters for this object

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

Definition at line 74 of file SelectJsonElement.php.

References TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement\setOptions().

Member Data Documentation

◆ $allowedAttributes

TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement::$allowedAttributes
protected
Initial value:
= array(
'class',
'disabled',
'id',
'lang',
'multiple',
'name',
'size',
'style',
'tabindex',
'title'
)

Definition at line 52 of file SelectJsonElement.php.

◆ $childElementsAllowed

TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement::$childElementsAllowed = FALSE
protected

Definition at line 65 of file SelectJsonElement.php.

◆ $configuration

TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement::$configuration
Initial value:
= array(
'attributes' => array(),
'filters' => array(),
'label' => array(
'value' => ''
),
'layout' => 'front',
'options' => array(),
'validation' => array()
)

Definition at line 36 of file SelectJsonElement.php.

◆ $xtype

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

Definition at line 29 of file SelectJsonElement.php.