/**
  * Constructor
  *
  * @param \TYPO3\CMS\Form\Domain\Model\Form $model
  * @param array $typoscript
  */
 public function __construct(\TYPO3\CMS\Form\Domain\Model\Form $model, array $typoscript)
 {
     $this->localCobj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer');
     $this->localizationHandler = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Form\\Localization');
     $this->typoscript = $typoscript;
     parent::__construct($model);
 }
 /**
  * Constructor
  *
  * @param \TYPO3\CMS\Form\Domain\Model\Element\SelectElement $model Model for this element
  */
 public function __construct(\TYPO3\CMS\Form\Domain\Model\Element\SelectElement $model)
 {
     parent::__construct($model);
 }
Beispiel #3
0
	/**
	 * Constructor
	 *
	 * @param Form $model
	 * @param array $typoscript
	 */
	public function __construct(Form $model, array $typoscript) {
		$this->localCobj = GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class);
		$this->localizationHandler = GeneralUtility::makeInstance(\TYPO3\CMS\Form\Localization::class);
		$this->typoscript = $typoscript;
		parent::__construct($model);
	}