コード例 #1
0
ファイル: HtmlView.php プロジェクト: khanhdeux/typo3test
 /**
  * Constructor
  */
 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);
 }
コード例 #2
0
ファイル: HtmlView.php プロジェクト: plan2net/TYPO3.CMS
 /**
  * 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);
 }
コード例 #3
0
 /**
  * Constructor
  *
  * @param \TYPO3\CMS\Form\Domain\Model\Element\SelectElement $model Model for this element
  * @return void
  */
 public function __construct(\TYPO3\CMS\Form\Domain\Model\Element\SelectElement $model)
 {
     parent::__construct($model);
 }