DmitryDulepov\Realurl\EncodeDecoderBase::__construct PHP Метод

__construct() публичный Метод

Initializes the class.
public __construct ( )
    public function __construct()
    {
        Utility::checkAndPerformRequiredUpdates();
        $this->databaseConnection = $GLOBALS['TYPO3_DB'];
        $this->tsfe = $GLOBALS['TSFE'];
        // Warning! It is important to init the new object and not reuse any existing object
        // $this->pageRepository->sys_language_uid must stay 0 because we will do overlays manually
        $this->pageRepository = GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\Page\\PageRepository');
        $this->pageRepository->init(FALSE);
    }

Usage Example

Пример #1
0
 /**
  * Initializes the class.
  */
 public function __construct()
 {
     parent::__construct();
 }
All Usage Examples Of DmitryDulepov\Realurl\EncodeDecoderBase::__construct