/** * Constructor */ public function __construct() { parent::__construct(); // Objects $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); $this->objSyncCtoHelper = SyncCtoHelper::getInstance(); }
/** * * @param RecursiveIterator $iterator The RecursiveIterator to be filtered. */ public function __construct(\RecursiveIterator $iterator) { // Call parent. parent::__construct($iterator); // Init some helper. $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); }
/** * Constructor */ public function __construct() { $this->BackendUser = BackendUser::getInstance(); parent::__construct(); $this->Encryption = Encryption::getInstance(); $this->Config = Config::getInstance(); $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); $this->objSyncCtoDatabase = SyncCtoDatabase::getInstance(); $this->objSyncCtoHelper = SyncCtoHelper::getInstance(); $this->loadLanguageFile("default"); $this->arrDebug = array(); }
/** * Constructor * * @param DataContainer $objDc */ public function __construct(DataContainer $objDc = null) { parent::__construct($objDc); // Load helper $this->objSyncCtoDatabase = SyncCtoDatabase::getInstance(); $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); // Load language $this->loadLanguageFile('tl_syncCto_backup'); $this->loadLanguageFile('tl_syncCto_steps'); // Load CSS $GLOBALS['TL_CSS'][] = 'system/modules/syncCto/assets/css/steps.css'; // Import $this->import('BackendUser', 'User'); // Choose template if (\Input::getInstance()->get("table") == "" && \Input::getInstance()->get("act") == "") { $this->strTemplate = "be_syncCto_backup"; } else { if (\Input::getInstance()->get("table") != "" && \Input::getInstance()->get("act") != "") { $this->strTemplate = "be_syncCto_steps"; } else { $this->strTemplate = "be_syncCto_backup"; } } }
/** * Constructor * * @param DataContainer $objDc */ public function __construct(DataContainer $objDc = null) { parent::__construct($objDc); // Load helper $this->objSyncCtoDatabase = SyncCtoDatabase::getInstance(); $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); $this->objSyncCtoCommunicationClient = SyncCtoCommunicationClient::getInstance(); $this->objSyncCtoHelper = SyncCtoHelper::getInstance(); // Load language $this->loadLanguageFile("tl_syncCto_steps"); $this->loadLanguageFile("tl_syncCto_check"); // Load CSS $GLOBALS['TL_CSS'][] = 'system/modules/syncCto/assets/css/steps.css'; // Init classes. $this->User = \BackendUser::getInstance(); }
/** * Constructor */ protected function __construct() { parent::__construct(); $this->objSyncCtoFiles = SyncCtoFiles::getInstance(); $this->objSyncCtoDatabase = SyncCtoDatabase::getInstance(); }