TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView Class Reference
Inheritance diagram for TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView:
TYPO3\CMS\Form\View\Confirmation\Element\AbstractElementView tx_form_View_Confirmation_Element_Container TYPO3\CMS\Form\View\Confirmation\ConfirmationView TYPO3\CMS\Form\View\Confirmation\Element\FieldsetElementView TYPO3\CMS\Form\View\Confirmation\Element\OptgroupElementView TYPO3\CMS\Form\View\Confirmation\Element\SelectElementView tx_form_View_Confirmation tx_form_View_Confirmation_Element_Fieldset TYPO3\CMS\Form\View\Confirmation\Element\CheckboxGroupElementView TYPO3\CMS\Form\View\Confirmation\Element\RadioGroupElementView tx_form_View_Confirmation_Element_Optgroup tx_form_View_Confirmation_Element_Select tx_form_View_Confirmation_Element_Checkboxgroup tx_form_View_Confirmation_Element_Radiogroup

Public Member Functions

 getChildElements (\DOMDocument $dom)
 
 createChildElementFromModel ($modelChild)
 
- Public Member Functions inherited from TYPO3\CMS\Form\View\Confirmation\Element\AbstractElementView
 __construct ($model)
 
 render ($type='element', $returnFirstChild=TRUE)
 
 replaceNodeWithFragment (\DOMDocument $dom, \DOMNode $node, \DOMNode $value)
 
 setAttributes (\DOMElement $domElement)
 
 setAttribute (\DOMElement $domElement, $key)
 
 setAttributeWithValueofOtherAttribute (\DOMElement $domElement, $key, $other)
 
 getAdditional ($key)
 
 getInputValue ()
 
 getElementWrapId ()
 
 getElementWrapType ()
 
 getElementWraps ()
 
 noWrap ()
 

Protected Attributes

 $containerWrap
 
- Protected Attributes inherited from TYPO3\CMS\Form\View\Confirmation\Element\AbstractElementView
 $model
 
 $elementWrap
 
 $noWrap = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Form\View\Confirmation\Element\AbstractElementView
 parseXML (\DOMDocument $dom, \DOMNode $reference, $emptyElement=FALSE)
 
 createAdditional ($class)
 

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! Abstract class for the form element containers (FORM and FIELDSET) view

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

Member Function Documentation

◆ createChildElementFromModel()

TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView::createChildElementFromModel (   $modelChild)

Create child object from the classname of the model

Parameters
object$modelChildThe childs model
Returns

Definition at line 74 of file ContainerElementView.php.

References TYPO3\CMS\Form\Utility\FormUtility\getInstance(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView\getChildElements().

◆ getChildElements()

TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView::getChildElements ( \DOMDocument  $dom)

Get the child objects and render them as document fragment

Parameters
\DOMDocument$domDOMDocument
Returns

Definition at line 42 of file ContainerElementView.php.

References TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView\createChildElementFromModel().

Member Data Documentation

◆ $containerWrap

TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView::$containerWrap
protected
Initial value:
= '
<ol>
<elements />
</ol>
'

Definition at line 29 of file ContainerElementView.php.