- Fri Sep 22, 2017 4:58 pm
#795692
what is the global variable to get the current language from inside the plugin file in php?
For example:
if (SYS_LANG == 'en')
$label = 'system';
elseif (SYS_LANG == 'pt-BR')
$label = 'sistema';
else
$label = 'sístemn';
if (!isset($_SESSION['USER_LOGGED'])) {
header("Location:../login/login");
}
array(26) {
["__EE_INSTALLATION__"]=>
int(28)
["__EE_SW_PMLICENSEMANAGER__"]=>
int(1)
["phpLastFileFound"]=>
string(117) "/sysworkflow/en/neoclassic/cases/cases_Step?UID=28383180359c1cb92a268b0050730493&TYPE=DYNAFORM&POSITION=1&ACTION=EDIT"
["USERNAME_PREVIOUS1"]=>
string(0) ""
["USERNAME_PREVIOUS2"]=>
string(5) "admin"
["WORKSPACE"]=>
string(8) "workflow"
["USER_LOGGED"]=>
string(32) "00000000000000000000000000000001"
["USR_USERNAME"]=>
string(5) "admin"
["USR_TIME_ZONE"]=>
string(16) "America/New_York"
["USR_FULLNAME"]=>
string(19) "Administrator admin"
["user_experience"]=>
string(6) "NORMAL"
["currentSkin"]=>
string(10) "neoclassic"
["currentSkinVariant"]=>
string(5) "extJs"
["CONDITION_DYN_UID"]=>
string(0) ""
["current_ux"]=>
string(6) "NORMAL"
["__currentTabDashboard"]=>
string(9) "startCase"
["TASK"]=>
string(32) "53921958759c0a033465d50018382783"
["BREAKSTEP"]=>
array(1) {
["NEXT_STEP"]=>
array(4) {
["TYPE"]=>
string(8) "DYNAFORM"
["UID"]=>
string(32) "28383180359c1cb92a268b0050730493"
["POSITION"]=>
int(1)
["PAGE"]=>
string(70) "open?APP_UID=14257425359c5bc04b81ab7003066784&DEL_INDEX=1&action=draft"
}
}
["CURRENT_TASK"]=>
string(32) "53921958759c0a033465d50018382783"
["APPLICATION"]=>
string(32) "14257425359c5bc04b81ab7003066784"
["INDEX"]=>
string(1) "1"
["PROCESS"]=>
string(32) "12101699559c09ffaca1697013185037"
["STEP_POSITION"]=>
int(1)
["TRIGGER_DEBUG"]=>
array(8) {
["ISSET"]=>
int(1)
["ERRORS"]=>
array(0) {
}
["DATA"]=>
array(0) {
}
["TRIGGERS_NAMES"]=>
array(1) {
[0]=>
string(10) "test group"
}
["TRIGGERS_VALUES"]=>
array(1) {
[0]=>
array(5) {
["TRI_UID"]=>
string(32) "78366778159c1d89be29be0023456094"
["TRI_TITLE"]=>
string(10) "test group"
["ST_CONDITION"]=>
string(0) ""
["TRI_TYPE"]=>
string(6) "SCRIPT"
["TRI_WEBBOT"]=>
string(0) ""
}
}
["TRIGGERS_EXECUTION_TIME"]=>
array(0) {
}
["NUM_TRIGGERS"]=>
int(1)
["TIME"]=>
string(6) "BEFORE"
}
["PMDEBUGGER"]=>
bool(true)
["_CODE_"]=>
string(0) " "
}
Hello. For rental housing, there are software solu[…]
Experience heightened pleasure with Cenforce 100 M[…]
Get an instant solution to move emails to MBOX for[…]