当前位置: 首页>>代码示例>>PHP>>正文


PHP CustomField::UpdateControls方法代码示例

本文整理汇总了PHP中CustomField::UpdateControls方法的典型用法代码示例。如果您正苦于以下问题:PHP CustomField::UpdateControls方法的具体用法?PHP CustomField::UpdateControls怎么用?PHP CustomField::UpdateControls使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CustomField的用法示例。


在下文中一共展示了CustomField::UpdateControls方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: UpdateReceiptControls

 protected function UpdateReceiptControls()
 {
     $this->lstFromCompany->SelectedValue = $this->objReceipt->FromCompanyId;
     $this->lstFromCompany_Select();
     $this->lstFromContact->SelectedValue = $this->objReceipt->FromContactId;
     $this->lstToContact->SelectedValue = $this->objReceipt->ToContactId;
     $this->lstToAddress->SelectedValue = $this->objReceipt->ToAddressId;
     if (QApplication::$TracmorSettings->CustomReceiptNumbers) {
         $this->txtReceiptNumber->Text = $this->objReceipt->ReceiptNumber;
     }
     $this->txtNote->Text = $this->objReceipt->Transaction->Note;
     $this->calDueDate->DateTime = $this->objReceipt->DueDate;
     $this->calDateReceived->Display = false;
     $this->lblReceiptDate->Display = true;
     $this->lblReceiptDate->Text = $this->objReceipt->ReceiptDate ? $this->objReceipt->ReceiptDate->__toString() : '';
     $this->arrCustomFields = CustomField::UpdateControls($this->objReceipt->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:17,代码来源:receipt_edit.php

示例2: UpdateAssetControls

 protected function UpdateAssetControls()
 {
     $this->txtAssetCode->Text = $this->objAsset->AssetCode;
     if ($this->objAsset->ParentAssetId) {
         $this->txtParentAssetCode->Text = $this->objAsset->ParentAsset->AssetCode;
         $this->chkLockToParent->Checked = $this->objAsset->LinkedFlag;
     } else {
         @($this->txtParentAssetCode->Text = "");
         @($this->chkLockToParent->Checked = false);
     }
     $this->arrCustomFields = CustomField::UpdateControls($this->objAsset->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:brustj,项目名称:tracmor,代码行数:12,代码来源:QAssetEditComposite.class.php

示例3: UpdateAddressControls

 protected function UpdateAddressControls()
 {
     $this->txtShortDescription->Text = $this->objAddress->ShortDescription;
     $this->txtAddress1->Text = $this->objAddress->Address1;
     $this->txtAddress2->Text = $this->objAddress->Address2;
     $this->txtCity->Text = $this->objAddress->City;
     $this->lstCountry->SelectedValue = $this->objAddress->CountryId;
     $this->lstCountry_Select();
     $this->lstStateProvince->SelectedValue = $this->objAddress->StateProvinceId;
     $this->txtPostalCode->Text = $this->objAddress->PostalCode;
     $this->arrCustomFields = CustomField::UpdateControls($this->objAddress->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:12,代码来源:address_edit.php

示例4: UpdateCompanyControls

 protected function UpdateCompanyControls()
 {
     $this->lstAddress->SelectedValue = $this->objCompany->AddressId;
     $this->txtShortDescription->Text = $this->objCompany->ShortDescription;
     $this->txtWebsite->Text = $this->objCompany->Website;
     $this->txtTelephone->Text = $this->objCompany->Telephone;
     $this->txtFax->Text = $this->objCompany->Fax;
     $this->txtEmail->Text = $this->objCompany->Email;
     $this->txtLongDescription->Text = $this->objCompany->LongDescription;
     $this->arrCustomFields = CustomField::UpdateControls($this->objCompany->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:11,代码来源:company_edit.php

示例5: UpdateAssetModelControls

 protected function UpdateAssetModelControls()
 {
     $this->lstCategory->SelectedValue = $this->objAssetModel->CategoryId;
     $this->lstManufacturer->SelectedValue = $this->objAssetModel->ManufacturerId;
     $this->txtAssetModelCode->Text = $this->objAssetModel->AssetModelCode;
     $this->txtShortDescription->Text = $this->objAssetModel->ShortDescription;
     $this->txtLongDescription->Text = $this->objAssetModel->LongDescription;
     $this->txtImagePath->Text = $this->objAssetModel->ImagePath;
     $this->arrCustomFields = CustomField::UpdateControls($this->objAssetModel->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:brustj,项目名称:tracmor,代码行数:10,代码来源:asset_model_edit.php

示例6: UpdateShipmentControls

 protected function UpdateShipmentControls()
 {
     $this->lstToContact->SelectedValue = $this->objShipment->ToContactId;
     //$this->lstToContact_Select();
     $this->lstFromCompany->SelectedValue = $this->objShipment->FromCompanyId;
     $this->lstFromContact->SelectedValue = $this->objShipment->FromContactId;
     $this->calShipDate->DateTime = $this->objShipment->ShipDate;
     $this->lstFromAddress->SelectedValue = $this->objShipment->FromAddressId;
     $this->lstToCompany->SelectedValue = $this->objShipment->ToCompanyId;
     $this->lstToCompany_Select();
     $this->lstToAddress->SelectedValue = $this->objShipment->ToAddressId;
     $this->lstToAddress_Select();
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->txtShipmentNumber->Text = $this->objShipment->ShipmentNumber;
     }
     $this->lstCourier->SelectedValue = $this->objShipment->CourierId;
     $this->txtTrackingNumber->Text = $this->objShipment->TrackingNumber;
     $this->txtNote->Text = $this->objShipment->Transaction->Note;
     $this->arrCustomFields = CustomField::UpdateControls($this->objShipment->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:20,代码来源:shipment_edit.php

示例7: UpdateContactControls

 protected function UpdateContactControls()
 {
     $this->lstCompany->SelectedValue = $this->objContact->CompanyId;
     $this->lstCompany_Select();
     $this->txtFirstName->Text = $this->objContact->FirstName;
     $this->txtLastName->Text = $this->objContact->LastName;
     $this->txtTitle->Text = $this->objContact->Title;
     $this->txtEmail->Text = $this->objContact->Email;
     $this->lstAddress->SelectedValue = $this->objContact->AddressId;
     $this->txtDescription->Text = $this->objContact->Description;
     $this->txtPhoneOffice->Text = $this->objContact->PhoneOffice;
     $this->txtPhoneMobile->Text = $this->objContact->PhoneMobile;
     $this->txtPhoneHome->Text = $this->objContact->PhoneHome;
     $this->txtFax->Text = $this->objContact->Fax;
     $this->arrCustomFields = CustomField::UpdateControls($this->objContact->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:16,代码来源:contact_edit.php

示例8: UpdateShipmentControls

 protected function UpdateShipmentControls()
 {
     $this->lstToContact->SelectedValue = $this->objShipment->ToContactId;
     $this->lstToContact_Select();
     $this->lstFromCompany->SelectedValue = $this->objShipment->FromCompanyId;
     $this->lstFromContact->SelectedValue = $this->objShipment->FromContactId;
     $this->calShipDate->DateTime = $this->objShipment->ShipDate;
     $this->lstFromAddress->SelectedValue = $this->objShipment->FromAddressId;
     $this->lstToCompany->SelectedValue = $this->objShipment->ToCompanyId;
     $this->lstToCompany_Select();
     $this->lstToAddress->SelectedValue = $this->objShipment->ToAddressId;
     $this->lstToAddress_Select();
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->txtShipmentNumber->Text = $this->objShipment->ShipmentNumber;
     }
     $this->lstCourier->SelectedValue = $this->objShipment->CourierId;
     $this->lstCourier_Select();
     $this->txtTrackingNumber->Text = $this->objShipment->TrackingNumber;
     $this->txtNote->Text = $this->objShipment->Transaction->Note;
     if ($this->objFedexShipment) {
         $this->txtToPhone->Text = $this->objFedexShipment->ToPhone;
         $this->lstBillTransportationTo->SelectedValue = $this->objFedexShipment->PayType;
         $this->lstShippingAccount->SelectedValue = $this->objFedexShipment->ShippingAccountId;
         $this->txtRecipientThirdPartyAccount->Text = $this->objFedexShipment->PayerAccountNumber;
         $this->txtReference->Text = $this->objFedexShipment->Reference;
         $this->txtFedexNotifySenderEmail->Text = $this->objFedexShipment->NotifySenderEmail;
         $this->txtFedexNotifyRecipientEmail->Text = $this->objFedexShipment->NotifyRecipientEmail;
         $this->txtFedexNotifyOtherEmail->Text = $this->objFedexShipment->NotifyOtherEmail;
         $this->chkFedexNotifySenderShipFlag->Checked = $this->objFedexShipment->NotifySenderShipFlag;
         $this->chkFedexNotifySenderExceptionFlag->Checked = $this->objFedexShipment->NotifySenderExceptionFlag;
         $this->chkFedexNotifySenderDeliveryFlag->Checked = $this->objFedexShipment->NotifySenderDeliveryFlag;
         $this->chkFedexNotifyRecipientShipFlag->Checked = $this->objFedexShipment->NotifyRecipientShipFlag;
         $this->chkFedexNotifyRecipientExceptionFlag->Checked = $this->objFedexShipment->NotifyRecipientExceptionFlag;
         $this->chkFedexNotifyRecipientDeliveryFlag->Checked = $this->objFedexShipment->NotifyRecipientDeliveryFlag;
         $this->chkFedexNotifyOtherShipFlag->Checked = $this->objFedexShipment->NotifyOtherShipFlag;
         $this->chkFedexNotifyOtherExceptionFlag->Checked = $this->objFedexShipment->NotifyOtherExceptionFlag;
         $this->chkFedexNotifyOtherDeliveryFlag->Checked = $this->objFedexShipment->NotifyOtherDeliveryFlag;
         $this->lstFxServiceType->SelectedValue = $this->objFedexShipment->FedexServiceTypeId;
         $this->lstPackageType->SelectedValue = $this->objFedexShipment->PackageTypeId;
         $this->txtPackageWeight->Text = $this->objFedexShipment->PackageWeight;
         $this->lstWeightUnit->SelectedValue = $this->objFedexShipment->WeightUnitId;
         $this->txtPackageLength->Text = $this->objFedexShipment->PackageLength;
         $this->txtPackageWidth->Text = $this->objFedexShipment->PackageWidth;
         $this->txtPackageHeight->Text = $this->objFedexShipment->PackageHeight;
         $this->lstLengthUnit->SelectedValue = $this->objFedexShipment->LengthUnitId;
         $this->txtValue->Text = $this->objFedexShipment->DeclaredValue;
         $this->lstCurrencyUnit->SelectedValue = $this->objFedexShipment->CurrencyUnitId;
         $this->chkSaturdayDeliveryFlag->Checked = $this->objFedexShipment->SaturdayDeliveryFlag;
         $this->chkHoldAtLocationFlag->Checked = $this->objFedexShipment->HoldAtLocationFlag;
         $this->txtHoldAtLocationAddress->Text = $this->objFedexShipment->HoldAtLocationAddress;
         $this->txtHoldAtLocationCity->Text = $this->objFedexShipment->HoldAtLocationCity;
         $this->lstHoldAtLocationState->SelectedValue = $this->objFedexShipment->HoldAtLocationState;
         $this->txtHoldAtLocationPostalCode->Text = $this->objFedexShipment->HoldAtLocationPostalCode;
         $this->lstFedexLabelPrinterType->SelectedValue = $this->objFedexShipment->LabelPrinterType;
         $this->lstFedexLabelFormatType->SelectedValue = $this->objFedexShipment->LabelFormatType;
         $this->txtFedexThermalPrinterPort->Text = $this->objFedexShipment->ThermalPrinterPort;
     }
     $this->arrCustomFields = CustomField::UpdateControls($this->objShipment->objCustomFieldArray, $this->arrCustomFields);
 }
开发者ID:brustj,项目名称:tracmor,代码行数:59,代码来源:shipment_edit.php


注:本文中的CustomField::UpdateControls方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。