public function __construct() { parent::__construct(); $this->import('DomainLink'); $this->import('BackendUser', 'User'); $this->import('AvisotaBase', 'Base'); $this->loadLanguageFile('orm_avisota_message'); }
/** * Construct the module */ public function __construct() { parent::__construct(); // Add the help style sheet $GLOBALS['TL_CSS'][] = 'system/modules/readspeaker/assets/help.css||static'; // Add the help javascript $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/readspeaker/assets/help.js'; if ($GLOBALS['TL_LANGUAGE'] == "de") { $this->strTemplate = 'be_readspeaker_help_de'; } }
/** * Constructor */ public function __construct() { parent::__construct(); if ($this->Input->get('act', true) == 'zero') { $this->setZero(); } if ($this->Input->get('act', true) == 'zerobrowser') { $this->setZeroBrowser(); } if ($this->Input->post('id') > 0) { $this->intKatID = preg_replace('@\\D@', '', $this->Input->post('id')); // only digits } else { $this->intKatID = 0; } }
/** * 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(); }
/** * Construct the module */ public function __construct() { parent::__construct(); // Add the help style sheet $GLOBALS['TL_CSS'][] = 'system/modules/readspeaker/assets/contact.css||static'; }
/** * Constructor */ public function __construct() { $this->import('BackendUser', 'User'); parent::__construct(); }
/** * Constructor * * @param DataContainer $objDc */ public function __construct(DataContainer $objDCA = null) { parent::__construct($objDCA); $this->loadLanguageFile('tl_syncCto_check'); }