本文整理汇总了PHP中ComposeStrings函数的典型用法代码示例。如果您正苦于以下问题:PHP ComposeStrings函数的具体用法?PHP ComposeStrings怎么用?PHP ComposeStrings使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ComposeStrings函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if ($this->EditMode) {
if ($this->DataSource->Errors->Count()) {
$this->Errors->AddErrors($this->DataSource->Errors);
$this->DataSource->Errors->clear();
}
$this->DataSource->Open();
if ($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) {
$this->DataSource->SetValues();
if (!$this->FormSubmitted) {
$this->t_cust_acc_masa_jab_id->SetValue($this->DataSource->t_cust_acc_masa_jab_id->GetValue());
$this->created_by->SetValue($this->DataSource->created_by->GetValue());
$this->updated_by->SetValue($this->DataSource->updated_by->GetValue());
$this->creation_date->SetValue($this->DataSource->creation_date->GetValue());
$this->updated_date->SetValue($this->DataSource->updated_date->GetValue());
$this->nama->SetValue($this->DataSource->nama->GetValue());
$this->masa_awal->SetValue($this->DataSource->masa_awal->GetValue());
$this->masa_akhir->SetValue($this->DataSource->masa_akhir->GetValue());
$this->t_cust_account_id->SetValue($this->DataSource->t_cust_account_id->GetValue());
}
} else {
$this->EditMode = false;
}
}
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->t_cust_acc_masa_jab_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->created_by->Errors->ToString());
$Error = ComposeStrings($Error, $this->updated_by->Errors->ToString());
$Error = ComposeStrings($Error, $this->creation_date->Errors->ToString());
$Error = ComposeStrings($Error, $this->updated_date->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_cacc_legal_docGridPage->Errors->ToString());
$Error = ComposeStrings($Error, $this->nama->Errors->ToString());
$Error = ComposeStrings($Error, $this->masa_awal->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_tgl_penerimaan->Errors->ToString());
$Error = ComposeStrings($Error, $this->masa_akhir->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_tgl_penerimaan1->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_cust_account_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Error = ComposeStrings($Error, $this->DataSource->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->Button_Insert->Visible = !$this->EditMode && $this->InsertAllowed;
$this->Button_Update->Visible = $this->EditMode && $this->UpdateAllowed;
$this->Button_Delete->Visible = $this->EditMode && $this->DeleteAllowed;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->Button_Insert->Show();
$this->Button_Update->Show();
$this->Button_Delete->Show();
$this->Button_Cancel->Show();
$this->t_cust_acc_masa_jab_id->Show();
$this->created_by->Show();
$this->updated_by->Show();
$this->creation_date->Show();
$this->updated_date->Show();
$this->t_cacc_legal_docGridPage->Show();
$this->nama->Show();
$this->masa_awal->Show();
$this->DatePicker_tgl_penerimaan->Show();
$this->masa_akhir->Show();
$this->DatePicker_tgl_penerimaan1->Show();
$this->t_cust_account_id->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->DataSource->close();
}
示例2: Show
function Show()
{
global $CCSUseAmp;
$Tpl =& CCGetTemplate($this);
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if ($this->EditMode) {
if ($this->DataSource->Errors->Count()) {
$this->Errors->AddErrors($this->DataSource->Errors);
$this->DataSource->Errors->clear();
}
$this->DataSource->Open();
if ($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) {
$this->DataSource->SetValues();
} else {
$this->EditMode = false;
}
}
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->oldpwd->Errors->ToString());
$Error = ComposeStrings($Error, $this->newpwd->Errors->ToString());
$Error = ComposeStrings($Error, $this->confirmpwd->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Error = ComposeStrings($Error, $this->DataSource->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->Button1->Visible = $this->EditMode && $this->UpdateAllowed;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->oldpwd->Show();
$this->newpwd->Show();
$this->confirmpwd->Show();
$this->Button1->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->DataSource->close();
}
示例3: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->date_start_laporan->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_date_start_laporan1->Errors->ToString());
$Error = ComposeStrings($Error, $this->date_end_laporan->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_end_start_laporan1->Errors->ToString());
$Error = ComposeStrings($Error, $this->cetak_laporan->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->Button1->Show();
$this->date_start_laporan->Show();
$this->DatePicker_date_start_laporan1->Show();
$this->date_end_laporan->Show();
$this->DatePicker_end_start_laporan1->Show();
$this->cetak_laporan->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
}
示例4: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->code->Errors->ToString());
$errors = ComposeStrings($errors, $this->valid_from->Errors->ToString());
$errors = ComposeStrings($errors, $this->editlink->Errors->ToString());
$errors = ComposeStrings($errors, $this->role_name->Errors->ToString());
$errors = ComposeStrings($errors, $this->valid_to->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例5: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->creation_date->Errors->ToString());
$Error = ComposeStrings($Error, $this->created_by->Errors->ToString());
$Error = ComposeStrings($Error, $this->updated_date->Errors->ToString());
$Error = ComposeStrings($Error, $this->updated_by->Errors->ToString());
$Error = ComposeStrings($Error, $this->qty_room_sold->Errors->ToString());
$Error = ComposeStrings($Error, $this->npwd->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_cust_account_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->finance_period_code->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_finance_period_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_year_period_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->year_code->Errors->ToString());
$Error = ComposeStrings($Error, $this->total_trans_amount->Errors->ToString());
$Error = ComposeStrings($Error, $this->start_period->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_start_period->Errors->ToString());
$Error = ComposeStrings($Error, $this->end_period->Errors->ToString());
$Error = ComposeStrings($Error, $this->DatePicker_end_period->Errors->ToString());
$Error = ComposeStrings($Error, $this->company_name->Errors->ToString());
$Error = ComposeStrings($Error, $this->vat_code->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_vat_type_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->vat_code_dtl->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_vat_type_dtl_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->vat_code_dtl_cls->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_vat_type_dtl_cls_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->mode_denda->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->creation_date->Show();
$this->created_by->Show();
$this->updated_date->Show();
$this->updated_by->Show();
$this->qty_room_sold->Show();
$this->npwd->Show();
$this->t_cust_account_id->Show();
$this->finance_period_code->Show();
$this->p_finance_period_id->Show();
$this->p_year_period_id->Show();
$this->year_code->Show();
$this->total_trans_amount->Show();
$this->start_period->Show();
$this->DatePicker_start_period->Show();
$this->end_period->Show();
$this->DatePicker_end_period->Show();
$this->Button1->Show();
$this->company_name->Show();
$this->vat_code->Show();
$this->p_vat_type_id->Show();
$this->vat_code_dtl->Show();
$this->p_vat_type_dtl_id->Show();
$this->vat_code_dtl_cls->Show();
$this->p_vat_type_dtl_cls_id->Show();
$this->mode_denda->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
}
示例6: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->tgl_pelaporan->Errors->ToString());
$errors = ComposeStrings($errors, $this->nilai_denda->Errors->ToString());
$errors = ComposeStrings($errors, $this->jml_lapor->Errors->ToString());
$errors = ComposeStrings($errors, $this->nilai_lapor->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例7: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->DLink->Errors->ToString());
$errors = ComposeStrings($errors, $this->target_amount->Errors->ToString());
$errors = ComposeStrings($errors, $this->p_year_period_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->vat_code->Errors->ToString());
$errors = ComposeStrings($errors, $this->p_vat_type_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->realisasi_amt->Errors->ToString());
$errors = ComposeStrings($errors, $this->percentage->Errors->ToString());
$errors = ComposeStrings($errors, $this->selisih->Errors->ToString());
$errors = ComposeStrings($errors, $this->percentage_selisih->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例8: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$this->p_bphtb_legal_doc_type_id->Prepare();
$this->jenis_harga_bphtb->Prepare();
$this->add_disc_percent->Prepare();
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if ($this->EditMode) {
if ($this->DataSource->Errors->Count()) {
$this->Errors->AddErrors($this->DataSource->Errors);
$this->DataSource->Errors->clear();
}
$this->DataSource->Open();
if ($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) {
$this->DataSource->SetValues();
if (!$this->FormSubmitted) {
$this->wp_kota->SetValue($this->DataSource->wp_kota->GetValue());
$this->wp_kelurahan->SetValue($this->DataSource->wp_kelurahan->GetValue());
$this->wp_p_region_id->SetValue($this->DataSource->wp_p_region_id->GetValue());
$this->wp_p_region_id_kec->SetValue($this->DataSource->wp_p_region_id_kec->GetValue());
$this->wp_p_region_id_kel->SetValue($this->DataSource->wp_p_region_id_kel->GetValue());
$this->wp_kecamatan->SetValue($this->DataSource->wp_kecamatan->GetValue());
$this->wp_name->SetValue($this->DataSource->wp_name->GetValue());
$this->wp_address_name->SetValue($this->DataSource->wp_address_name->GetValue());
$this->npwp->SetValue($this->DataSource->npwp->GetValue());
$this->object_kelurahan->SetValue($this->DataSource->object_kelurahan->GetValue());
$this->object_p_region_id_kel->SetValue($this->DataSource->object_p_region_id_kel->GetValue());
$this->object_kecamatan->SetValue($this->DataSource->object_kecamatan->GetValue());
$this->object_p_region_id_kec->SetValue($this->DataSource->object_p_region_id_kec->GetValue());
$this->object_kota->SetValue($this->DataSource->object_kota->GetValue());
$this->object_p_region_id->SetValue($this->DataSource->object_p_region_id->GetValue());
$this->land_area->SetValue($this->DataSource->land_area->GetValue());
$this->land_price_per_m->SetValue($this->DataSource->land_price_per_m->GetValue());
$this->land_total_price->SetValue($this->DataSource->land_total_price->GetValue());
$this->building_area->SetValue($this->DataSource->building_area->GetValue());
$this->building_price_per_m->SetValue($this->DataSource->building_price_per_m->GetValue());
$this->building_total_price->SetValue($this->DataSource->building_total_price->GetValue());
$this->wp_rt->SetValue($this->DataSource->wp_rt->GetValue());
$this->wp_rw->SetValue($this->DataSource->wp_rw->GetValue());
$this->object_rt->SetValue($this->DataSource->object_rt->GetValue());
$this->object_rw->SetValue($this->DataSource->object_rw->GetValue());
$this->njop_pbb->SetValue($this->DataSource->njop_pbb->GetValue());
$this->object_address_name->SetValue($this->DataSource->object_address_name->GetValue());
$this->npop->SetValue($this->DataSource->npop->GetValue());
$this->npop_tkp->SetValue($this->DataSource->npop_tkp->GetValue());
$this->npop_kp->SetValue($this->DataSource->npop_kp->GetValue());
$this->bphtb_amt->SetValue($this->DataSource->bphtb_amt->GetValue());
$this->bphtb_amt_final->SetValue($this->DataSource->bphtb_amt_final->GetValue());
$this->bphtb_discount->SetValue($this->DataSource->bphtb_discount->GetValue());
$this->description->SetValue($this->DataSource->description->GetValue());
$this->market_price->SetValue($this->DataSource->market_price->GetValue());
$this->phone_no->SetValue($this->DataSource->phone_no->GetValue());
$this->mobile_phone_no->SetValue($this->DataSource->mobile_phone_no->GetValue());
$this->t_bphtb_registration_id->SetValue($this->DataSource->t_bphtb_registration_id->GetValue());
$this->p_bphtb_legal_doc_type_id->SetValue($this->DataSource->p_bphtb_legal_doc_type_id->GetValue());
$this->t_customer_order_id->SetValue($this->DataSource->t_customer_order_id->GetValue());
$this->p_rqst_type_id->SetValue($this->DataSource->p_rqst_type_id->GetValue());
$this->jenis_harga_bphtb->SetValue($this->DataSource->jenis_harga_bphtb->GetValue());
$this->bphtb_legal_doc_description->SetValue($this->DataSource->bphtb_legal_doc_description->GetValue());
$this->add_disc_percent->SetValue($this->DataSource->add_disc_percent->GetValue());
$this->p_bphtb_type_id->SetValue($this->DataSource->p_bphtb_type_id->GetValue());
$this->prev_payment_amount->SetValue($this->DataSource->prev_payment_amount->GetValue());
$this->bphtb_amt_final_old->SetValue($this->DataSource->bphtb_amt_final_old->GetValue());
}
} else {
$this->EditMode = false;
}
}
if (!$this->FormSubmitted) {
$this->total_price->SetText($this->DataSource->land_total_price->GetValue() + $this->DataSource->building_total_price->GetValue());
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->wp_kota->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_kelurahan->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_p_region_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_p_region_id_kec->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_p_region_id_kel->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_kecamatan->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_name->Errors->ToString());
$Error = ComposeStrings($Error, $this->wp_address_name->Errors->ToString());
$Error = ComposeStrings($Error, $this->npwp->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_kelurahan->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_p_region_id_kel->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_kecamatan->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_p_region_id_kec->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_kota->Errors->ToString());
$Error = ComposeStrings($Error, $this->object_p_region_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->land_area->Errors->ToString());
//.........这里部分代码省略.........
示例9: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->s_keyword->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_cust_account_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_finance_period_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_customer_order_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->npwd->Errors->ToString());
$Error = ComposeStrings($Error, $this->finance_period_code->Errors->ToString());
$Error = ComposeStrings($Error, $this->order_no->Errors->ToString());
$Error = ComposeStrings($Error, $this->t_vat_setllement_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->rqst_type_code->Errors->ToString());
$Error = ComposeStrings($Error, $this->p_rqst_type_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->TAKEN_CTL->Errors->ToString());
$Error = ComposeStrings($Error, $this->IS_TAKEN->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_DOC_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_DOC_TYPE_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_PROC_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_CTL_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->USER_ID_DOC->Errors->ToString());
$Error = ComposeStrings($Error, $this->USER_ID_DONOR->Errors->ToString());
$Error = ComposeStrings($Error, $this->USER_ID_LOGIN->Errors->ToString());
$Error = ComposeStrings($Error, $this->USER_ID_TAKEN->Errors->ToString());
$Error = ComposeStrings($Error, $this->IS_CREATE_DOC->Errors->ToString());
$Error = ComposeStrings($Error, $this->IS_MANUAL->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_PROC_STATUS->Errors->ToString());
$Error = ComposeStrings($Error, $this->CURR_DOC_STATUS->Errors->ToString());
$Error = ComposeStrings($Error, $this->PREV_DOC_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->PREV_DOC_TYPE_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->PREV_PROC_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->PREV_CTL_ID->Errors->ToString());
$Error = ComposeStrings($Error, $this->SLOT_1->Errors->ToString());
$Error = ComposeStrings($Error, $this->SLOT_2->Errors->ToString());
$Error = ComposeStrings($Error, $this->SLOT_3->Errors->ToString());
$Error = ComposeStrings($Error, $this->SLOT_4->Errors->ToString());
$Error = ComposeStrings($Error, $this->SLOT_5->Errors->ToString());
$Error = ComposeStrings($Error, $this->MESSAGE->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->s_keyword->Show();
$this->Button_DoSearch->Show();
$this->t_cust_account_id->Show();
$this->p_finance_period_id->Show();
$this->t_customer_order_id->Show();
$this->npwd->Show();
$this->finance_period_code->Show();
$this->order_no->Show();
$this->t_vat_setllement_id->Show();
$this->rqst_type_code->Show();
$this->p_rqst_type_id->Show();
$this->TAKEN_CTL->Show();
$this->IS_TAKEN->Show();
$this->CURR_DOC_ID->Show();
$this->CURR_DOC_TYPE_ID->Show();
$this->CURR_PROC_ID->Show();
$this->CURR_CTL_ID->Show();
$this->USER_ID_DOC->Show();
$this->USER_ID_DONOR->Show();
$this->USER_ID_LOGIN->Show();
$this->USER_ID_TAKEN->Show();
$this->IS_CREATE_DOC->Show();
$this->IS_MANUAL->Show();
$this->CURR_PROC_STATUS->Show();
$this->CURR_DOC_STATUS->Show();
$this->PREV_DOC_ID->Show();
$this->PREV_DOC_TYPE_ID->Show();
$this->PREV_PROC_ID->Show();
$this->PREV_CTL_ID->Show();
$this->SLOT_1->Show();
$this->SLOT_2->Show();
$this->SLOT_3->Show();
//.........这里部分代码省略.........
示例10: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->npwd->Errors->ToString());
$errors = ComposeStrings($errors, $this->t_vat_setllement_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->t_cust_account_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->company_name->Errors->ToString());
$errors = ComposeStrings($errors, $this->periode_pelaporan->Errors->ToString());
$errors = ComposeStrings($errors, $this->tgl_pelaporan->Errors->ToString());
$errors = ComposeStrings($errors, $this->total_transaksi->Errors->ToString());
$errors = ComposeStrings($errors, $this->total_pajak->Errors->ToString());
$errors = ComposeStrings($errors, $this->kuitansi_pembayaran->Errors->ToString());
$errors = ComposeStrings($errors, $this->tgl_pembayaran->Errors->ToString());
$errors = ComposeStrings($errors, $this->payment_amount->Errors->ToString());
$errors = ComposeStrings($errors, $this->p_finance_period_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->periode_awal_laporan->Errors->ToString());
$errors = ComposeStrings($errors, $this->periode_akhir_laporan->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例11: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->code->Errors->ToString());
$errors = ComposeStrings($errors, $this->is_active->Errors->ToString());
$errors = ComposeStrings($errors, $this->description->Errors->ToString());
$errors = ComposeStrings($errors, $this->creation_date->Errors->ToString());
$errors = ComposeStrings($errors, $this->created_by->Errors->ToString());
$errors = ComposeStrings($errors, $this->updated_date->Errors->ToString());
$errors = ComposeStrings($errors, $this->updated_by->Errors->ToString());
$errors = ComposeStrings($errors, $this->editlink->Errors->ToString());
$errors = ComposeStrings($errors, $this->p_role_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例12: Show
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if (!$this->Visible) {
return;
}
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$this->group_id->Prepare();
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if ($this->EditMode) {
if ($this->DataSource->Errors->Count()) {
$this->Errors->AddErrors($this->DataSource->Errors);
$this->DataSource->Errors->clear();
}
$this->DataSource->Open();
if ($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) {
$this->DataSource->SetValues();
if (!$this->FormSubmitted) {
$this->username->SetValue($this->DataSource->username->GetValue());
$this->password->SetValue($this->DataSource->password->GetValue());
$this->fullname->SetValue($this->DataSource->fullname->GetValue());
$this->group_id->SetValue($this->DataSource->group_id->GetValue());
$this->jobposition->SetValue($this->DataSource->jobposition->GetValue());
$this->phone->SetValue($this->DataSource->phone->GetValue());
$this->created_userid->SetValue($this->DataSource->created_userid->GetValue());
$this->modified_userid->SetValue($this->DataSource->modified_userid->GetValue());
$this->guid->SetValue($this->DataSource->guid->GetValue());
$this->personal_id->SetValue($this->DataSource->personal_id->GetValue());
$this->email->SetValue($this->DataSource->email->GetValue());
}
} else {
$this->EditMode = false;
}
}
if (!$this->FormSubmitted) {
}
if ($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->username->Errors->ToString());
$Error = ComposeStrings($Error, $this->password->Errors->ToString());
$Error = ComposeStrings($Error, $this->fullname->Errors->ToString());
$Error = ComposeStrings($Error, $this->group_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->jobposition->Errors->ToString());
$Error = ComposeStrings($Error, $this->phone->Errors->ToString());
$Error = ComposeStrings($Error, $this->created_userid->Errors->ToString());
$Error = ComposeStrings($Error, $this->modified_userid->Errors->ToString());
$Error = ComposeStrings($Error, $this->guid->Errors->ToString());
$Error = ComposeStrings($Error, $this->password_Shadow->Errors->ToString());
$Error = ComposeStrings($Error, $this->user_photo->Errors->ToString());
$Error = ComposeStrings($Error, $this->personal_id->Errors->ToString());
$Error = ComposeStrings($Error, $this->email->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Error = ComposeStrings($Error, $this->DataSource->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->Button_Insert->Visible = !$this->EditMode && $this->InsertAllowed;
$this->Button_Update->Visible = $this->EditMode && $this->UpdateAllowed;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if (!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->username->Show();
$this->password->Show();
$this->fullname->Show();
$this->group_id->Show();
$this->jobposition->Show();
$this->phone->Show();
$this->Button_Insert->Show();
$this->Button_Update->Show();
$this->created_userid->Show();
$this->modified_userid->Show();
$this->guid->Show();
$this->password_Shadow->Show();
$this->user_photo->Show();
$this->personal_id->Show();
$this->email->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->DataSource->close();
}
示例13: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->license_type_code->Errors->ToString());
$errors = ComposeStrings($errors, $this->t_cacc_license_letter_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->license_no->Errors->ToString());
$errors = ComposeStrings($errors, $this->valid_from->Errors->ToString());
$errors = ComposeStrings($errors, $this->valid_to->Errors->ToString());
$errors = ComposeStrings($errors, $this->DLink->Errors->ToString());
$errors = ComposeStrings($errors, $this->ADLink->Errors->ToString());
$errors = ComposeStrings($errors, $this->description->Errors->ToString());
$errors = ComposeStrings($errors, $this->t_cust_account_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->btn_update->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例14: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->p_license_type_id->Errors->ToString());
$errors = ComposeStrings($errors, $this->code->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
示例15: GetErrors
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->trans_date_txt->Errors->ToString());
$errors = ComposeStrings($errors, $this->service_charge->Errors->ToString());
$errors = ComposeStrings($errors, $this->vat_charge->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}