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

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-content-header'
 
 $configuration
 
- Public Attributes inherited from TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
 $xtype = ''
 
 $configuration = array()
 

Protected Member Functions

 setVarious (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 header

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

Member Function Documentation

◆ setParameters()

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

Set all the parameters for this object

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

Definition at line 65 of file HeaderJsonElement.php.

References TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\setVarious().

◆ setVarious()

TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement::setVarious ( array  $parameters)
protected

Set the various properties for the element

For this element this is the headingsize and the value

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 78 of file HeaderJsonElement.php.

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

Member Data Documentation

◆ $allowedAttributes

TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement::$allowedAttributes
protected
Initial value:
= array(
'class',
'dir',
'id',
'lang',
'style',
'title'
)

Definition at line 49 of file HeaderJsonElement.php.

◆ $configuration

TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement::$configuration
Initial value:
= array(
'attributes' => array(),
'various' => array(
'headingSize' => 'h1',
'content' => ''
)
)

Definition at line 36 of file HeaderJsonElement.php.

◆ $xtype

TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement::$xtype = 'typo3-form-wizard-elements-content-header'

Definition at line 29 of file HeaderJsonElement.php.