/** * Instantiates the Object Manager */ public function __construct() { parent::__construct(); $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'); $this->commandManager = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandManager'); $this->taskExecutor = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Scheduler\\TaskExecutor'); }
/** * Instantiates the Object Manager */ public function __construct() { parent::__construct(); $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class); $this->commandManager = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Cli\CommandManager::class); $this->taskExecutor = $this->objectManager->get(\TYPO3\CMS\Extbase\Scheduler\TaskExecutor::class); }
/** * Creates the instance of the class. This call initializes the index file * path to the random value. After the task is configured, the user may * change the file and the file name will be serialized with the task and * used later. * * @see __sleep */ public function __construct() { parent::__construct(); $this->indexFilePath = self::DEFAULT_FILE_PATH . '/' . GeneralUtility::getRandomHexString(24) . '.xml'; }
/** * PHP4 wrapper for constructor, * have to be here evne though the constructor is not defined in the derived class, * else the constructor of the parent class will not be called in PHP4 */ public function __construct() { parent::__construct(); }
/** * Constructor initializes user record pointer */ public function __construct() { parent::__construct(); $this->userRecordPointer = array('FE' => 0, 'BE' => 0); }
public function __construct() { parent::__construct(); $this->initializeExtbase(); $this->initializeScheduler(); }