예제 #1
0
 /**
  * Construct to initialize class variables.
  */
 public function __construct()
 {
     parent::__construct();
     $this->localizationController = GeneralUtility::makeInstance(LocalizationController::class);
     $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
     $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
     $pageRenderer->addInlineLanguageLabelFile('EXT:backend/Resources/Private/Language/locallang_layout.xlf');
     $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/Tooltip');
     $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/Localization');
 }
 /**
  * @test
  * @expectedException \UnexpectedValueException
  * @expectedExceptionCode 1436195933
  */
 public function setTableDisplayOrderThrowsExceptionOnInvalidBefore()
 {
     $test = ['table' => ['before' => new \stdClass()]];
     $subject = new AbstractDatabaseRecordList();
     $subject->setTableDisplayOrder($test);
 }
예제 #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
 }