本文整理匯總了PHP中CCGetFromGet函數的典型用法代碼示例。如果您正苦於以下問題:PHP CCGetFromGet函數的具體用法?PHP CCGetFromGet怎麽用?PHP CCGetFromGet使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了CCGetFromGet函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: clsRecordchange_passwordchangepwd1
function clsRecordchange_passwordchangepwd1($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record changepwd1/Error";
$this->DataSource = new clschange_passwordchangepwd1DataSource($this);
$this->ds =& $this->DataSource;
$this->UpdateAllowed = true;
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "changepwd1";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = $FormMethod == "Edit";
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->oldpwd = new clsControl(ccsTextBox, "oldpwd", "Old Password", ccsText, "", CCGetRequestParam("oldpwd", $Method, NULL), $this);
$this->oldpwd->Required = true;
$this->newpwd = new clsControl(ccsTextBox, "newpwd", "New Password", ccsText, "", CCGetRequestParam("newpwd", $Method, NULL), $this);
$this->newpwd->Required = true;
$this->confirmpwd = new clsControl(ccsTextBox, "confirmpwd", "Confirm Password", ccsText, "", CCGetRequestParam("confirmpwd", $Method, NULL), $this);
$this->confirmpwd->Required = true;
$this->Button1 = new clsButton("Button1", $Method, $this);
}
}
示例2: clsRecordt_rep_bphtb_registrationSearch
function clsRecordt_rep_bphtb_registrationSearch($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record t_rep_bphtb_registrationSearch/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "t_rep_bphtb_registrationSearch";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->wp_name =& new clsControl(ccsTextBox, "wp_name", "wp_name", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("wp_name", $Method, NULL), $this);
$this->Button_DoSearch =& new clsButton("Button_DoSearch", $Method, $this);
$this->t_bphtb_registration_id =& new clsControl(ccsHidden, "t_bphtb_registration_id", "t_bphtb_registration_id", ccsText, "", CCGetRequestParam("t_bphtb_registration_id", $Method, NULL), $this);
}
}
示例3: Page_BeforeShow
function Page_BeforeShow(&$sender)
{
$Page_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_skpdkb_nihil;
//Compatibility
//End Page_BeforeShow
//Custom Code @10-2A29BDB7
// -------------------------
// Write your own code here.
// -------------------------
//End Custom Code
$cetak_laporan = CCGetFromGet('cetak_laporan');
global $Label1;
// -------------------------
// Write your own code here.
$tahun = CCGetFromGet('year_code');
$status = CCGetFromGet('status');
$param_arr = array();
$param_arr['tahun'] = $tahun;
$param_arr['status'] = $status;
if (!empty($param_arr['tahun'])) {
$Label1->SetText(view_html($param_arr));
}
// -------------------------
//Close Page_BeforeShow @1-4BC230CD
return $Page_BeforeShow;
}
示例4: clsRecordgrafik_pembayaran_form
function clsRecordgrafik_pembayaran_form($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record grafik_pembayaran_form/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "grafik_pembayaran_form";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button2 =& new clsButton("Button2", $Method, $this);
$this->year_code =& new clsControl(ccsTextBox, "year_code", "year_code", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this);
$this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsText, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this);
$this->code =& new clsControl(ccsTextBox, "code", "code", ccsText, "", CCGetRequestParam("code", $Method, NULL), $this);
$this->p_finance_period_id =& new clsControl(ccsHidden, "p_finance_period_id", "p_finance_period_id", ccsText, "", CCGetRequestParam("p_finance_period_id", $Method, NULL), $this);
}
}
示例5: Page_BeforeShow
function Page_BeforeShow(&$sender)
{
$Page_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_lembar_kontrol_bphtb;
//Compatibility
//End Page_BeforeShow
global $Label1;
//Custom Code @10-2A29BDB7
// -------------------------
// Write your own code here.
$doAction = CCGetFromGet('doAction');
if ($doAction == 'view_html') {
$param_arr = array();
if (empty($param_arr['date_start'])) {
$param_arr['date_start'] = CCGetFromGet('date_start_laporan');
}
if (empty($param_arr['date_end'])) {
$param_arr['date_end'] = CCGetFromGet('date_end_laporan');
}
//$t_laporan_rekap_bphtb->date_start_laporan->SetValue($param_arr['date_start']);
//$t_laporan_rekap_bphtb->date_end_laporan->SetValue($param_arr['date_end']);
$Label1->SetText(GetCetakHTML($param_arr));
}
// -------------------------
//End Custom Code
//Close Page_BeforeShow @1-4BC230CD
return $Page_BeforeShow;
}
示例6: Initialize
function Initialize()
{
if (!$this->Visible) {
return;
}
$this->ds->Parameters["urlset_id"] = CCGetFromGet("set_id", "");
}
示例7: clsRecordNewRecord1
function clsRecordNewRecord1($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record NewRecord1/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "NewRecord1";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button_Insert = new clsButton("Button_Insert", $Method, $this);
}
}
示例8: Page_BeforeShow
function Page_BeforeShow(&$sender)
{
$Page_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_debt_letter_view_excel;
//Compatibility
//End Page_BeforeShow
//Custom Code @68-2A29BDB7
// -------------------------
// Write your own code here.
$cetak_excel = CCGetFromGet("cetak_excel", 0);
$t_customer_order_id = CCGetFromGet("t_customer_order_id", 0);
$p_vat_type_id = CCGetFromGet("p_vat_type_id", 0);
$param_arr = array();
if ($cetak_excel == 1) {
$param_arr['p_vat_type_id'] = $p_vat_type_id;
$param_arr['t_customer_order_id'] = $t_customer_order_id;
print_excel($param_arr);
}
// -------------------------
//End Custom Code
//Close Page_BeforeShow @1-4BC230CD
return $Page_BeforeShow;
}
示例9: clsRecordLogin
function clsRecordLogin($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record Login/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "Login";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->login = new clsControl(ccsTextBox, "login", "Username", ccsText, "", CCGetRequestParam("login", $Method, NULL), $this);
$this->login->Required = true;
$this->password = new clsControl(ccsTextBox, "password", "Password", ccsText, "", CCGetRequestParam("password", $Method, NULL), $this);
$this->password->Required = true;
$this->Button_DoLogin = new clsButton("Button_DoLogin", $Method, $this);
}
}
示例10: t_vat_registrationForm_Button4_OnClick
function t_vat_registrationForm_Button4_OnClick(&$sender)
{
$t_vat_registrationForm_Button4_OnClick = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_vat_registrationForm;
//Compatibility
//End t_vat_registrationForm_Button4_OnClick
//Custom Code @909-2A29BDB7
// -------------------------
// Write your own code here.
$CusId = CCGetFromGet("CURR_DOC_ID", "");
$dbConn = new clsDBConnSIKP();
$sql = "select f_gen_npwpd(" . $CusId . ")as npwpd from dual";
$dbConn->query($sql);
while ($dbConn->next_record()) {
$val = $dbConn->f("npwpd");
}
$t_vat_registrationForm->npwpd->SetValue($val);
return;
// -------------------------
//End Custom Code
//Close t_vat_registrationForm_Button4_OnClick @908-D8012444
return $t_vat_registrationForm_Button4_OnClick;
}
示例11: Page_BeforeShow
function Page_BeforeShow(&$sender)
{
$Page_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_rep_lap_bpps_piutang;
//Compatibility
//End Page_BeforeShow
//Custom Code @570-2A29BDB7
// -------------------------
$cetak_laporan = CCGetFromGet('cetak_laporan');
if ($cetak_laporan == 'download_excel') {
$param_arr = array();
$param_arr['tgl_penerimaan'] = CCGetFromGet('tgl_penerimaan');
$param_arr['p_year_period_id'] = CCGetFromGet('p_year_period_id');
$param_arr['p_vat_type_id'] = CCGetFromGet('p_vat_type_id');
$param_arr['i_flag_setoran'] = CCGetFromGet('i_flag_setoran');
$param_arr['tgl_penerimaan_last'] = CCGetFromGet('tgl_penerimaan_last');
$param_arr['jenis_laporan'] = CCGetFromGet('jenis_laporan', 'all');
print_excel($param_arr);
}
// -------------------------
//End Custom Code
//Close Page_BeforeShow @1-4BC230CD
return $Page_BeforeShow;
}
示例12: LOV_BeforeShow
function LOV_BeforeShow(&$sender)
{
$LOV_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $LOV;
//Compatibility
//End LOV_BeforeShow
//Custom Code @8-2A29BDB7
// -------------------------
// Write your own code here.
$i_vat_setllement = CCGetFromGet('i_vat_setllement_id');
$ubah = CCGetFromGet('ubah');
$in_flag_numeric = CCGetFromGet('in_flag_numeric');
$is_desc = CCGetFromGet('is_desc');
if ($ubah == 'T') {
$user = CCGetUserLogin();
$data = array();
$dbConn = new clsDBConnSIKP();
$query = "select f_update_increasing_amt({$i_vat_setllement},{$in_flag_numeric},'{$is_desc}','{$user}') as msg";
$dbConn->query($query);
while ($dbConn->next_record()) {
echo "<script> \r\n\t\t\talert('" . $dbConn->f('msg') . "');\r\n\t\t\twindow.close();\r\n\t\t</script>";
exit;
}
}
// -------------------------
//End Custom Code
//Close LOV_BeforeShow @3-91C2A156
return $LOV_BeforeShow;
}
示例13: Page_BeforeShow
function Page_BeforeShow(&$sender)
{
$Page_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $t_cetak_kartu_npwpd_dr_t_cust_account;
//Compatibility
//End Page_BeforeShow
//Custom Code @572-2A29BDB7
// -------------------------
// Write your own code here.
$doAction = CCGetFromGet('doAction');
global $Label1;
if ($doAction == 'view_html') {
$param_arr['search'] = CCGetFromGet('search');
$param_arr['tgl'] = CCGetFromGet('tgl');
/*if ($param_arr['tgl']==''){
$param_arr['tgl']='';
}*/
$Label1->SetText(GetCetakHTML($param_arr));
}
// -------------------------
//End Custom Code
//Close Page_BeforeShow @1-4BC230CD
return $Page_BeforeShow;
}
示例14: Initialize
function Initialize()
{
if (!$this->Visible) {
return;
}
$this->DataSource->Parameters["urluid"] = CCGetFromGet("uid", NULL);
}
示例15: clsRecordp_pass_byadminForm
function clsRecordp_pass_byadminForm($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record p_pass_byadminForm/Error";
$this->DataSource = new clsp_pass_byadminFormDataSource($this);
$this->ds =& $this->DataSource;
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "p_pass_byadminForm";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = $FormMethod == "Edit";
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button_Ubah =& new clsButton("Button_Ubah", $Method, $this);
$this->n_user_pwd1 =& new clsControl(ccsTextBox, "n_user_pwd1", "n_user_pwd1", ccsText, "", CCGetRequestParam("n_user_pwd1", $Method, NULL), $this);
$this->p_app_user_id =& new clsControl(ccsHidden, "p_app_user_id", "p_app_user_id", ccsFloat, "", CCGetRequestParam("p_app_user_id", $Method, NULL), $this);
$this->n_user_pwd2 =& new clsControl(ccsTextBox, "n_user_pwd2", "n_user_pwd2", ccsText, "", CCGetRequestParam("n_user_pwd2", $Method, NULL), $this);
$this->app_user_name =& new clsControl(ccsLabel, "app_user_name", "app_user_name", ccsText, "", CCGetRequestParam("app_user_name", $Method, NULL), $this);
$this->o_user_pwd =& new clsControl(ccsTextBox, "o_user_pwd", "o_user_pwd", ccsText, "", CCGetRequestParam("o_user_pwd", $Method, NULL), $this);
$this->Button_cancel =& new clsButton("Button_cancel", $Method, $this);
}
}