Ejemplo n.º 1
0
 public function __construct()
 {
     global $configEtude;
     //Controleur d'instanciation
     $this->m_ctrl = new instanciation();
     CommonFunctions::__construct($configEtude, $this->m_ctrl);
 }
 function socdiscoo($tblConfig, $SubjectKey)
 {
     CommonFunctions::__construct($tblConfig, null);
     $this->addLog("socdiscoo->socdiscoo(,{$SubjectKey})", INFO);
     $this->m_tblLocks = array();
     $this->initContext($SubjectKey);
 }
 public function __construct()
 {
     global $configEtude;
     //Controler for instanciation
     $this->m_ctrl = new instanciation();
     CommonFunctions::__construct($configEtude, $this->m_ctrl);
     //Blocking access if maintenance
     if (file_exists(EGW_SERVER_ROOT . "/" . $GLOBALS['egw_info']['flags']['currentapp'] . "/maintenance.true") && !$GLOBALS['egw_info']['user']['apps']['admin']) {
         session_destroy();
         die("MAINTENANCE");
     }
 }
 function __construct()
 {
     // are we called via xmlrpc?
     if (!is_object($GLOBALS['server']) || !$GLOBALS['server']->last_method) {
         die('not called via xmlrpc');
     } else {
         global $configEtude;
         CommonFunctions::__construct($configEtude, null);
         //Instance controler
         $this->m_ctrl = new instanciation();
     }
 }
 public function __construct()
 {
     global $configEtude;
     CommonFunctions::__construct($configEtude, null);
     $GLOBALS['egw_info']['flags']['app_header'] = $this->m_tblConfig['APP_NAME'];
     //Controler for instanciation
     $this->m_ctrl = new instanciation();
     //Blocking access if maintenance
     if (file_exists(EGW_SERVER_ROOT . "/" . $GLOBALS['egw_info']['flags']['currentapp'] . "/maintenance.true") && !$GLOBALS['egw_info']['user']['apps']['admin']) {
         session_destroy();
         die("<html><div style='text-align: center; margin-top: 150px;'><img src='phpgwapi/templates/idots/images/alix/alix_logo.png'></div><div style='text-align: left; font: 24px calibri bold; width: 450px; margin: 10px auto;'>The site is currently down for maintenance.<div style=' text-align: left; font: 16px calibri; color: #aaa; margin: 10px auto;'>We expect to be back in about an hour.<br />We apologize for the inconvenience and appreciate your patience.</div></div></html>");
     }
 }
 public function __construct()
 {
     global $configEtude;
     CommonFunctions::__construct($configEtude, null);
     $this->addLog("******************************NEW REQUEST******************************", INFO);
     $this->addLog("uietude->uietude() : user="******"&nbsp;" . urldecode($_GET['title']);
     }
     //Controleur d'instanciation
     $this->m_ctrl = new instanciation();
     //If the user quit a CRF page, we need to update subject info in the subject list
     if (isset($_GET['updateSubjectEntry'])) {
         $SubjectKey = $_GET['updateSubjectEntry'];
         $this->m_ctrl->bosubjects()->updateSubjectsList($SubjectKey);
     }
 }
 /**
  * @desc Constructeur de class
  * @param array $configEtude tableau des constantes de configuration    
  * @param uietude $ctrlRef reference vers l'instance instanciation, o¨ est dÚlÚguÚ l'installation des objets (appel du type $this->m_ctrl->bcdiscoo() ) 
  * @author WLT
  * 
  **/
 function uidocuments($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function boetude($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 /**
  * @desc Constructeur de class
  * @param array $configEtude tableau des constantes de configuration    
  * @param uietude $ctrlRef reference vers l'instance instanciation, où est délégué l'installation des objets (appel du type $this->m_ctrl->bcdiscoo() ) 
  * @author WLT
  * 
  **/
 function uidashboard($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 /**
  * @desc Constructeur de class
  * @param array $configEtude tableau des constantes de configuration    
  * @param uietude $ctrlRef reference vers l'instance instanciation, où est délégué l'installation des objets (appel du type $this->m_ctrl->bcdiscoo() ) 
  * @author TPI
  * 
  **/
 function uideviations($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function bosubjects(&$tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 function bopostit(&$tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 /**
  * class constructor
  * @param array $configStudy array of configuration values    
  * @param uietude $ctrlRef reference to instance of the instanciation class, used to delegate instanciation of all objects ( call syntax : $this->m_ctrl->bocdiscoo()->my_method_name ) 
  * @author WLT
  **/
 function uisubject($configStudy, $ctrlRef)
 {
     CommonFunctions::__construct($configStudy, $ctrlRef);
 }
 function __construct()
 {
     global $configEtude;
     CommonFunctions::__construct($configEtude, null);
     $this->m_ctrl = new instanciation();
 }
 function bocdiscoo(&$tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 function __construct(&$tblConfig, $ctrlRef)
 {
     parent::__construct($tblConfig, $ctrlRef);
 }
 public function __construct()
 {
     global $configEtude;
     CommonFunctions::__construct($configEtude, null);
 }
 /**
  * class Constructor
  * @param array $configStudy array of configuration variables    
  * @param instanciation $ctrlRef  
  * @author WLT
  * 
  **/
 function uiaudittrail($configStudy, $ctrlRef)
 {
     CommonFunctions::__construct($configStudy, $ctrlRef);
 }
 function uipassword($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function __construct($tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 /**
  * Constructor
  * @param $tblConfig alix paremeters
  */
 function socdiscoo(&$tblConfig)
 {
     CommonFunctions::__construct($tblConfig, null);
     $this->addLog("socdiscoo->socdiscoo()", INFO);
     $this->initContext();
 }
 /**
  * @desc Constructor
  * @param array $configEtude array of configuration constants   
  * @param uietude $ctrlRef reference for instanciation instance , to which is delegated instanciation of objects (calls such as $this->m_ctrl->bcdiscoo() ) 
  * @author TPI
  * 
  **/
 function uieditor($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function bocdiscoo($tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
     $this->m_lang = $GLOBALS['egw_info']['user']['preferences']['common']['lang'];
 }
 function boqueries(&$tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 function uisubjectlist($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function bodeviations(&$tblConfig, $ctrlRef)
 {
     CommonFunctions::__construct($tblConfig, $ctrlRef);
 }
 function uipreferences($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 /**
  * @desc Constructeur de class
  * @param array $configEtude tableau des constantes de configuration    
  * @param uietude $ctrlRef reference vers l'instance instanciation, où est délégué l'installation des objets (appel du type $this->m_ctrl->bcdiscoo() ) 
  * @author TPI
  * 
  **/
 function uiqueries($configEtude, $ctrlRef)
 {
     CommonFunctions::__construct($configEtude, $ctrlRef);
 }
 function __construct(&$tblConfig, $ctrlRef)
 {
     parent::__construct($tblConfig, $ctrlRef);
     $this->boaccounts =& CreateObject('admin.boaccounts');
 }