本文整理汇总了PHP中CommonFunctions::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonFunctions::__construct方法的具体用法?PHP CommonFunctions::__construct怎么用?PHP CommonFunctions::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommonFunctions
的用法示例。
在下文中一共展示了CommonFunctions::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
global $configEtude;
//Controleur d'instanciation
$this->m_ctrl = new instanciation();
CommonFunctions::__construct($configEtude, $this->m_ctrl);
}
示例2: socdiscoo
function socdiscoo($tblConfig, $SubjectKey)
{
CommonFunctions::__construct($tblConfig, null);
$this->addLog("socdiscoo->socdiscoo(,{$SubjectKey})", INFO);
$this->m_tblLocks = array();
$this->initContext($SubjectKey);
}
示例3: __construct
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");
}
}
示例4: __construct
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();
}
}
示例5: __construct
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>");
}
}
示例6: __construct
public function __construct()
{
global $configEtude;
CommonFunctions::__construct($configEtude, null);
$this->addLog("******************************NEW REQUEST******************************", INFO);
$this->addLog("uietude->uietude() : user=" . $GLOBALS['egw_info']['user']['userid'], TRACE);
$GLOBALS['egw_info']['flags']['app_header'] = $this->m_tblConfig['APP_NAME'];
//En provenance du menu, en ayant cliqué sur un lien. le titre à afficher est passé en $_GET
if (isset($_GET['title'])) {
$GLOBALS['egw_info']['flags']['app_header'] .= " " . 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);
}
}
示例7: uidocuments
/**
* @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);
}
示例8: boetude
function boetude($configEtude, $ctrlRef)
{
CommonFunctions::__construct($configEtude, $ctrlRef);
}
示例9: uidashboard
/**
* @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);
}
示例10: uideviations
/**
* @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);
}
示例11: bosubjects
function bosubjects(&$tblConfig, $ctrlRef)
{
CommonFunctions::__construct($tblConfig, $ctrlRef);
}
示例12: bopostit
function bopostit(&$tblConfig, $ctrlRef)
{
CommonFunctions::__construct($tblConfig, $ctrlRef);
}
示例13: uisubject
/**
* 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);
}
示例14: __construct
function __construct()
{
global $configEtude;
CommonFunctions::__construct($configEtude, null);
$this->m_ctrl = new instanciation();
}
示例15: bocdiscoo
function bocdiscoo(&$tblConfig, $ctrlRef)
{
CommonFunctions::__construct($tblConfig, $ctrlRef);
}