TYPO3 CMS  TYPO3_6-2
RadioGroupElement.php
Go to the documentation of this file.
1 <?php
3 
23 
30  public function addElement(\TYPO3\CMS\Form\Domain\Model\Element\RadioElement $element) {
31  if ($element->acceptsParentName()) {
32  $element->setName($this->getName());
33  $element->attributes->setValue('name', $this->getName());
34  $element->checkFilterAndSetIncomingDataFromRequest();
35  }
36  $this->elements[] = $element;
37  return $this;
38  }
39 
40 }
addElement(\TYPO3\CMS\Form\Domain\Model\Element\RadioElement $element)