Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->import('DomainLink');
     $this->import('BackendUser', 'User');
     $this->import('AvisotaBase', 'Base');
     $this->loadLanguageFile('orm_avisota_message');
 }
Ejemplo n.º 2
0
 /**
  * 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';
     }
 }
Ejemplo n.º 3
0
 /**
  * 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;
     }
 }
Ejemplo n.º 4
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";
         }
     }
 }
Ejemplo n.º 5
0
 /**
  * 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();
 }
Ejemplo n.º 6
0
 /**
  * Construct the module
  */
 public function __construct()
 {
     parent::__construct();
     // Add the help style sheet
     $GLOBALS['TL_CSS'][] = 'system/modules/readspeaker/assets/contact.css||static';
 }
Ejemplo n.º 7
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->import('BackendUser', 'User');
     parent::__construct();
 }
Ejemplo n.º 8
0
 /**
  * Constructor
  * 
  * @param DataContainer $objDc 
  */
 public function __construct(DataContainer $objDCA = null)
 {
     parent::__construct($objDCA);
     $this->loadLanguageFile('tl_syncCto_check');
 }