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


PHP CustomField::DisplayLabels方法代码示例

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


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

示例1: DisplayLabels

 protected function DisplayLabels()
 {
     // Do not display inputs
     $this->txtShortDescription->Display = false;
     $this->txtAddress1->Display = false;
     $this->txtAddress2->Display = false;
     $this->txtCity->Display = false;
     $this->lstStateProvince->Display = false;
     $this->lstCountry->Display = false;
     $this->txtPostalCode->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels for Viewing mode
     $this->lblShortDescription->Display = true;
     $this->lblAddress1->Display = true;
     $this->lblAddress2->Display = true;
     $this->lblCity->Display = true;
     $this->lblStateProvince->Display = true;
     $this->lblCountry->Display = true;
     $this->lblPostalCode->Display = true;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->atcAttach->btnUpload->Display = true;
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:30,代码来源:address_edit.php

示例2: DisplayLabels

 protected function DisplayLabels()
 {
     // Hide inputs
     $this->lstFromCompany->Display = false;
     $this->lstFromContact->Display = false;
     $this->lstToContact->Display = false;
     $this->lstToAddress->Display = false;
     if (QApplication::$TracmorSettings->CustomReceiptNumbers) {
         $this->txtReceiptNumber->Display = false;
     }
     $this->txtNote->Display = false;
     $this->calDueDate->Display = false;
     $this->calDateReceived->Display = false;
     if ($this->blnEditMode) {
         $this->dtgAssetTransact->RemoveColumnByName(' ');
         $this->dtgInventoryTransact->RemoveColumnByName(' ');
     }
     $this->btnSave->Display = false;
     $this->btnCancel->Display = false;
     $this->rblAssetType->Display = false;
     $this->txtNewAssetCode->Display = false;
     $this->lstAssetModel->Display = false;
     $this->chkAutoGenerateAssetCode->Display = false;
     $this->btnAddAsset->Display = false;
     $this->lblAddAsset->Display = false;
     if ($this->blnShowInventory) {
         $this->txtNewInventoryModelCode->Display = false;
         $this->lblLookup->Display = false;
         $this->txtQuantity->Display = false;
         $this->btnAddInventory->Display = false;
     }
     // Display labels
     $this->lblFromCompany->Display = true;
     $this->lblFromContact->Display = true;
     $this->lblToContact->Display = true;
     $this->lblToAddress->Display = true;
     if (QApplication::$TracmorSettings->CustomReceiptNumbers) {
         $this->lblReceiptNumber->Display = true;
     }
     $this->pnlNote->Display = true;
     $this->lblDueDate->Display = true;
     $this->lblReceiptDate->Display = true;
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->atcAttach->btnUpload->Display = true;
     if ($this->blnEditMode) {
         $this->dtgAssetTransact->AddColumn(new QDataGridColumn('&nbsp;', '<?= $_FORM->lstLocationAssetReceived_Render($_ITEM) ?> <?= $_FORM->btnReceiveAssetTransaction_Render($_ITEM) ?>', array('CssClass' => "dtgcolumn", 'HtmlEntities' => false)));
         $this->dtgInventoryTransact->AddColumn(new QDataGridColumn('&nbsp;', '<?= $_FORM->lstLocationInventoryReceived_Render($_ITEM) ?> <?= $_FORM->txtQuantityReceived_Render($_ITEM) ?> <?= $_FORM->btnReceiveInventoryTransaction_Render($_ITEM) ?>', array('CssClass' => "dtgcolumn", 'HtmlEntities' => false)));
     }
     $this->lblNewFromCompany->Display = false;
     $this->lblNewFromContact->Display = false;
     $this->lblNewToContact->Display = false;
     $this->lblNewToAddress->Display = false;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:58,代码来源:receipt_edit.php

示例3: DisplayLabels

 protected function DisplayLabels()
 {
     // Do not display inputs
     $this->txtShortDescription->Display = false;
     $this->txtWebsite->Display = false;
     $this->txtEmail->Display = false;
     $this->txtLongDescription->Display = false;
     $this->lstAddress->Display = false;
     $this->txtTelephone->Display = false;
     $this->txtFax->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels for Viewing mode
     $this->lblShortDescription->Display = true;
     $this->lblWebsite->Display = true;
     $this->lblEmail->Display = true;
     $this->pnlLongDescription->Display = true;
     $this->lblAddress->Display = true;
     $this->lblTelephone->Display = true;
     $this->lblFax->Display = true;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->atcAttach->btnUpload->Display = true;
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:30,代码来源:company_edit.php

示例4: displayLabels

 public function displayLabels()
 {
     // Do not display inputs
     $this->txtAssetCode->Display = false;
     $this->txtParentAssetCode->Display = false;
     $this->chkLockToParent->Display = false;
     $this->lstAssetModel->Display = false;
     $this->chkAutoGenerateAssetCode->Display = false;
     $this->lblNewAssetModel->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels for Viewing mode
     $this->lblIconParentAssetCode->Display = false;
     $this->lblAssetModelCode->Display = true;
     $this->lblLocation->Display = true;
     $this->lblAssetCode->Display = true;
     $this->lblAssetModel->Display = true;
     $this->lblParentAssetCode->Display = true;
     if ($this->objAsset->LinkedFlag) {
         $this->lblLockedToParent->Visible = true;
     } else {
         $this->lblLockedToParent->Visible = false;
     }
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->btnClone->Display = true;
     $this->atcAttach->btnUpload->Display = true;
     $this->btnPrintAssetTag->Display = true;
     if ($this->objAsset->ArchivedFlag) {
         $this->btnEdit->Enabled = false;
         $this->btnClone->Enabled = false;
         $this->atcAttach->Enabled = false;
         $this->btnPrintAssetTag->Enabled = false;
     } else {
         $this->btnEdit->Enabled = true;
         $this->btnClone->Enabled = true;
         $this->atcAttach->Enabled = true;
         $this->btnPrintAssetTag->Enabled = true;
     }
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
 }
开发者ID:brustj,项目名称:tracmor,代码行数:46,代码来源:QAssetEditComposite.class.php

示例5: displayLabels

 protected function displayLabels()
 {
     $this->lblImage->Display = true;
     $this->ifcImage->Display = false;
     // Do not display inputs
     $this->txtShortDescription->Display = false;
     $this->txtAssetModelCode->Display = false;
     $this->lstCategory->Display = false;
     $this->lstManufacturer->Display = false;
     $this->txtLongDescription->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels/Panels for Viewing mode
     $this->lblShortDescription->Display = true;
     $this->lblAssetModelCode->Display = true;
     $this->lblCategory->Display = true;
     $this->lblManufacturer->Display = true;
     $this->pnlLongDescription->Display = true;
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->atcAttach->btnUpload->Display = true;
     // $this->btnClone->Display = true;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
 }
开发者ID:brustj,项目名称:tracmor,代码行数:29,代码来源:asset_model_edit.php

示例6: DisplayLabels

 protected function DisplayLabels()
 {
     // Hide Inputs
     $this->calShipDate->Display = false;
     $this->lstFromCompany->Display = false;
     $this->lstFromContact->Display = false;
     $this->lstFromAddress->Display = false;
     $this->lstToCompany->Display = false;
     $this->lstToContact->Display = false;
     $this->lstToAddress->Display = false;
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->txtShipmentNumber->Display = false;
     }
     $this->lstCourier->Display = false;
     $this->txtNote->Display = false;
     $this->txtTrackingNumber->Display = false;
     $this->txtNewAssetCode->Display = false;
     $this->btnAddAsset->Display = false;
     $this->lblAddAsset->Display = false;
     if ($this->blnShowInventory) {
         $this->btnLookup->Display = false;
         $this->lblLookup->Display = false;
         $this->btnAddInventory->Display = false;
         $this->txtNewInventoryModelCode->Display = false;
         $this->lstSourceLocation->Display = false;
         $this->txtQuantity->Display = false;
     }
     $this->lblNewFromCompany->Display = false;
     $this->lblNewFromContact->Display = false;
     $this->lblNewFromAddress->Display = false;
     $this->lblNewToCompany->Display = false;
     $this->lblNewToContact->Display = false;
     $this->lblNewToAddress->Display = false;
     /*			if ($this->lblAdvanced->Text == 'Hide Advanced') {
     				$this->lblAdvanced_Click($this->FormId, $this->lblAdvanced->ControlId, null);
     			}*/
     if (!$this->objShipment->ShippedFlag) {
         //$this->lblAdvanced->Display = false;
         $this->btnCancelCompleteShipment->Display = false;
     } else {
         $this->btnCancelCompleteShipment->Display = true;
     }
     $this->btnSave->Display = false;
     $this->btnCancel->Display = false;
     if ($this->blnEditMode) {
         $this->dtgAssetTransact->RemoveColumnByName('Action');
         $this->dtgInventoryTransact->RemoveColumnByName('Action');
         $this->dtgAssetTransact->RemoveColumnByName('Advanced');
         $this->dtgAssetTransact->RemoveColumnByName('Due Date');
     }
     // Display Labels
     $this->lblShipDate->Display = true;
     $this->lblFromCompany->Display = true;
     $this->lblFromContact->Display = true;
     $this->lblFromAddress->Display = true;
     $this->lblFromAddressFull->Display = true;
     $this->lblToCompany->Display = true;
     $this->lblToContact->Display = true;
     $this->lblToAddress->Display = true;
     $this->lblToAddressFull->Display = true;
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->lblShipmentNumber->Display = true;
     }
     $this->lblCourier->Display = true;
     $this->pnlNote->Display = true;
     $this->lblTrackingNumber->Display = true;
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
     //if (!$this->objShipment->ShippedFlag) {
     $this->btnEdit->Display = true;
     //}
     $this->atcAttach->btnUpload->Display = true;
     // This is not necessary, because this method is only being called in EditMode
     if ($this->blnEditMode) {
         $this->btnCompleteShipment->Enabled = true;
     }
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:78,代码来源:shipment_edit.php

示例7: DisplayLabels

 protected function DisplayLabels()
 {
     // Do not display inputs
     $this->lstCompany->Display = false;
     $this->txtFirstName->Display = false;
     $this->txtLastName->Display = false;
     $this->txtTitle->Display = false;
     $this->txtEmail->Display = false;
     $this->lstAddress->Display = false;
     $this->txtDescription->Display = false;
     $this->txtPhoneOffice->Display = false;
     $this->txtPhoneMobile->Display = false;
     $this->txtPhoneHome->Display = false;
     $this->txtFax->Display = false;
     $this->lblNewCompany->Display = false;
     $this->lblNewAddress->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels for Viewing mode
     $this->lblCompany->Display = true;
     $this->lblFirstName->Display = true;
     $this->lblLastName->Display = true;
     $this->lblTitle->Display = true;
     $this->lblEmail->Display = true;
     $this->pnlDescription->Display = true;
     $this->lblAddress->Display = true;
     $this->lblPhoneOffice->Display = true;
     $this->lblPhoneMobile->Display = true;
     $this->lblPhoneHome->Display = true;
     $this->lblFax->Display = true;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     $this->btnDelete->Display = true;
     $this->atcAttach->btnUpload->Display = true;
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:40,代码来源:contact_edit.php

示例8: displayLabels

 public function displayLabels()
 {
     // Do not display inputs
     $this->txtShortDescription->Display = false;
     $this->lstCategory->Display = false;
     $this->lstManufacturer->Display = false;
     $this->txtLongDescription->Display = false;
     $this->txtInventoryModelCode->Display = false;
     // Do not display Cancel and Save buttons
     $this->btnCancel->Display = false;
     $this->btnSave->Display = false;
     // Display Labels for Viewing mode
     $this->lblShortDescription->Display = true;
     $this->lblCategory->Display = true;
     $this->lblManufacturer->Display = true;
     $this->lblInventoryModelCode->Display = true;
     $this->pnlLongDescription->Display = true;
     // Display Edit and Delete buttons
     $this->btnEdit->Display = true;
     if ($_GET['intInventoryModelId'] == 5 || $_GET['intInventoryModelId'] == 6 || $_GET['intInventoryModelId'] == 7 || $_GET['intInventoryModelId'] == 8) {
         $this->btnDelete->Display = false;
     } else {
         $this->btnDelete->Display = true;
     }
     $this->atcAttach->btnUpload->Display = true;
     // Display custom field labels
     if ($this->arrCustomFields) {
         CustomField::DisplayLabels($this->arrCustomFields);
     }
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:30,代码来源:QInventoryEditComposite.class.php

示例9: DisplayLabels

 protected function DisplayLabels()
 {
     // Hide Inputs
     $this->calShipDate->Display = false;
     $this->lstFromCompany->Display = false;
     $this->lstFromContact->Display = false;
     $this->lstFromAddress->Display = false;
     $this->lstToCompany->Display = false;
     $this->lstToContact->Display = false;
     $this->lstToAddress->Display = false;
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->txtShipmentNumber->Display = false;
     }
     $this->lstCourier->Display = false;
     $this->txtNote->Display = false;
     $this->txtTrackingNumber->Display = false;
     $this->txtNewAssetCode->Display = false;
     $this->btnAddAsset->Display = false;
     $this->lblAddAsset->Display = false;
     $this->btnLookup->Display = false;
     $this->lblLookup->Display = false;
     $this->btnAddInventory->Display = false;
     $this->txtNewInventoryModelCode->Display = false;
     $this->lstSourceLocation->Display = false;
     $this->txtQuantity->Display = false;
     $this->txtToPhone->Display = false;
     $this->lstBillTransportationTo->Display = false;
     $this->lstShippingAccount->Display = false;
     $this->txtRecipientThirdPartyAccount->Display = false;
     $this->txtReference->Display = false;
     $this->txtFedexNotifySenderEmail->Display = false;
     $this->txtFedexNotifyRecipientEmail->Display = false;
     $this->txtFedexNotifyOtherEmail->Display = false;
     $this->lstFxServiceType->Display = false;
     $this->lstPackageType->Display = false;
     $this->txtPackageWeight->Display = false;
     $this->lstWeightUnit->Display = false;
     $this->txtPackageLength->Display = false;
     $this->txtPackageWidth->Display = false;
     $this->txtPackageHeight->Display = false;
     $this->lstLengthUnit->Display = false;
     $this->txtValue->Display = false;
     $this->lstCurrencyUnit->Display = false;
     $this->lblNewFromCompany->Display = false;
     $this->lblNewFromContact->Display = false;
     $this->lblNewFromAddress->Display = false;
     $this->lblNewToCompany->Display = false;
     $this->lblNewToContact->Display = false;
     $this->lblNewToAddress->Display = false;
     $this->txtHoldAtLocationAddress->Display = false;
     $this->txtHoldAtLocationCity->Display = false;
     $this->lstHoldAtLocationState->Display = false;
     $this->txtHoldAtLocationPostalCode->Display = false;
     $this->lstFedexLabelPrinterType->Display = false;
     $this->lstFedexLabelFormatType->Display = false;
     $this->txtFedexThermalPrinterPort->Display = false;
     // Disable (instead of hiding) Fedex Notification checkboxes
     $this->chkFedexNotifySenderShipFlag->Enabled = false;
     $this->chkFedexNotifySenderExceptionFlag->Enabled = false;
     $this->chkFedexNotifySenderDeliveryFlag->Enabled = false;
     $this->chkFedexNotifyRecipientShipFlag->Enabled = false;
     $this->chkFedexNotifyRecipientExceptionFlag->Enabled = false;
     $this->chkFedexNotifyRecipientDeliveryFlag->Enabled = false;
     $this->chkFedexNotifyOtherShipFlag->Enabled = false;
     $this->chkFedexNotifyOtherExceptionFlag->Enabled = false;
     $this->chkFedexNotifyOtherDeliveryFlag->Enabled = false;
     // Disable (instead of hiding) FedEx Special Services checkboxes
     $this->chkSaturdayDeliveryFlag->Enabled = false;
     $this->chkHoldAtLocationFlag->Enabled = false;
     /*			if ($this->lblAdvanced->Text == 'Hide Advanced') {
     				$this->lblAdvanced_Click($this->FormId, $this->lblAdvanced->ControlId, null);
     			}*/
     if (!$this->objShipment->ShippedFlag) {
         //$this->lblAdvanced->Display = false;
         $this->btnCancelCompleteShipment->Display = false;
     } else {
         $this->btnCancelCompleteShipment->Display = true;
     }
     $this->btnSave->Display = false;
     $this->btnCancel->Display = false;
     if ($this->blnEditMode) {
         $this->dtgAssetTransact->RemoveColumnByName('Action');
         $this->dtgInventoryTransact->RemoveColumnByName('Action');
         $this->dtgAssetTransact->RemoveColumnByName('Advanced');
         $this->dtgAssetTransact->RemoveColumnByName('Due Date');
     }
     // Display Labels
     $this->lblShipDate->Display = true;
     $this->lblFromCompany->Display = true;
     $this->lblFromContact->Display = true;
     $this->lblFromAddress->Display = true;
     $this->lblFromAddressFull->Display = true;
     $this->lblToCompany->Display = true;
     $this->lblToContact->Display = true;
     $this->lblToAddress->Display = true;
     $this->lblToAddressFull->Display = true;
     if (QApplication::$TracmorSettings->CustomShipmentNumbers) {
         $this->lblShipmentNumber->Display = true;
     }
     $this->lblCourier->Display = true;
//.........这里部分代码省略.........
开发者ID:brustj,项目名称:tracmor,代码行数:101,代码来源:shipment_edit.php


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