TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Domain\Model\Element\ContainerElement Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\Element\ContainerElement:
TYPO3\CMS\Form\Domain\Model\Element\AbstractElement tx_form_Domain_Model_Element_Container TYPO3\CMS\Form\Domain\Model\Element\FieldsetElement TYPO3\CMS\Form\Domain\Model\Element\OptgroupElement TYPO3\CMS\Form\Domain\Model\Element\SelectElement TYPO3\CMS\Form\Domain\Model\Form tx_form_Domain_Model_Element_Fieldset TYPO3\CMS\Form\Domain\Model\Element\CheckboxGroupElement TYPO3\CMS\Form\Domain\Model\Element\RadioGroupElement tx_form_Domain_Model_Element_Optgroup tx_form_Domain_Model_Element_Select tx_form_Domain_Model_Form tx_form_Domain_Model_Element_Checkboxgroup tx_form_Domain_Model_Element_Radiogroup

Public Member Functions

 addElement (\TYPO3\CMS\Form\Domain\Model\Element\AbstractElement $element)
 
 getElements ()
 
- Public Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
 __construct ()
 
 setElementId ()
 
 getElementId ()
 
 getElementType ()
 
 setName ($name='')
 
 getName ()
 
 acceptsParentName ()
 
 setAttribute ($attribute, $value)
 
 getAllowedAttributes ()
 
 getMandatoryAttributes ()
 
 hasAllowedAttributes ()
 
 hasAllowedAdditionals ()
 
 getAllowedAdditionals ()
 
 getAttributes ()
 
 hasAttribute ($key)
 
 getAttributeValue ($key)
 
 getAdditional ()
 
 getAdditionalObjectByKey ($key)
 
 getAdditionalValue ($key)
 
 setLayout ($layout='')
 
 getLayout ()
 
 setValue ($value='')
 
 getValue ()
 
 setData ($data='')
 
 setMessagesFromValidation ()
 
 setErrorsFromValidation ()
 
 setAdditional ($additional, $type, $value)
 
 additionalIsSet ($key)
 
 setAdditionalLayout ($key, $layout)
 
 makeFilter ($class, $arguments=array())
 
 addFilter ($filter)
 
 checkFilterAndSetIncomingDataFromRequest ()
 

Protected Attributes

 $elements = array()
 
- Protected Attributes inherited from TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
 $elementId
 
 $elementType = self::ELEMENT_TYPE_FORM
 
 $name
 
 $acceptsParentName = FALSE
 
 $attributes
 
 $additional
 
 $layout
 
 $value
 
 $data
 
 $allowedAdditional
 
 $mandatoryAttributes = array()
 
 $allowedAttributes = array()
 
 $localCobj
 
 $requestHandler
 
 $elementCounter
 
 $validateClass
 
 $filter
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
const ELEMENT_TYPE_FORM = 'FORM'
 
const ELEMENT_TYPE_PLAIN = 'PLAIN'
 
const ELEMENT_TYPE_CONTENT = 'CONTENT'
 
- Protected Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
 createAttributes ()
 
 createAdditional ()
 
 createFilter ()
 

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! Class for the form container elements

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

Member Function Documentation

◆ addElement()

TYPO3\CMS\Form\Domain\Model\Element\ContainerElement::addElement ( \TYPO3\CMS\Form\Domain\Model\Element\AbstractElement  $element)

Add child object to this element

Parameters
\TYPO3\CMS\Form\Domain\Model\Element\AbstractElement$elementThe child object
Returns

Definition at line 37 of file ContainerElement.php.

◆ getElements()

TYPO3\CMS\Form\Domain\Model\Element\ContainerElement::getElements ( )

Get the child elements

Returns
array Child objects

Definition at line 47 of file ContainerElement.php.

References TYPO3\CMS\Form\Domain\Model\Element\ContainerElement\$elements.

Member Data Documentation

◆ $elements

TYPO3\CMS\Form\Domain\Model\Element\ContainerElement::$elements = array()
protected