本文整理汇总了PHP中ew_FormatDateTime函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_FormatDateTime函数的具体用法?PHP ew_FormatDateTime怎么用?PHP ew_FormatDateTime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ew_FormatDateTime函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// codigo
// Titulo
// Descripcion
// fecha
// id_usuario
// archivo
// estado
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// codigo
$this->codigo->ViewValue = $this->codigo->CurrentValue;
$this->codigo->ViewCustomAttributes = "";
// Titulo
$this->Titulo->ViewValue = $this->Titulo->CurrentValue;
$this->Titulo->ViewCustomAttributes = "";
// Descripcion
$this->Descripcion->ViewValue = $this->Descripcion->CurrentValue;
$this->Descripcion->ViewCustomAttributes = "";
// fecha
$this->fecha->ViewValue = $this->fecha->CurrentValue;
$this->fecha->ViewValue = ew_FormatDateTime($this->fecha->ViewValue, 7);
$this->fecha->ViewCustomAttributes = "";
// archivo
if (!ew_Empty($this->archivo->Upload->DbValue)) {
$this->archivo->ViewValue = $this->archivo->Upload->DbValue;
} else {
$this->archivo->ViewValue = "";
}
$this->archivo->ViewCustomAttributes = "";
// estado
if (strval($this->estado->CurrentValue) != "") {
switch ($this->estado->CurrentValue) {
case $this->estado->FldTagValue(1):
$this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
break;
case $this->estado->FldTagValue(2):
$this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
break;
case $this->estado->FldTagValue(3):
$this->estado->ViewValue = $this->estado->FldTagCaption(3) != "" ? $this->estado->FldTagCaption(3) : $this->estado->CurrentValue;
break;
default:
$this->estado->ViewValue = $this->estado->CurrentValue;
}
} else {
$this->estado->ViewValue = NULL;
}
$this->estado->ViewCustomAttributes = "";
// codigo
$this->codigo->LinkCustomAttributes = "";
$this->codigo->HrefValue = "";
$this->codigo->TooltipValue = "";
// Titulo
$this->Titulo->LinkCustomAttributes = "";
$this->Titulo->HrefValue = "";
$this->Titulo->TooltipValue = "";
// Descripcion
$this->Descripcion->LinkCustomAttributes = "";
$this->Descripcion->HrefValue = "";
$this->Descripcion->TooltipValue = "";
// archivo
$this->archivo->LinkCustomAttributes = "";
if (!ew_Empty($this->archivo->Upload->DbValue)) {
$this->archivo->HrefValue = "%u";
// Add prefix/suffix
$this->archivo->LinkAttrs["target"] = "";
// Add target
if ($this->Export != "") {
$this->archivo->HrefValue = ew_ConvertFullUrl($this->archivo->HrefValue);
}
} else {
$this->archivo->HrefValue = "";
}
$this->archivo->HrefValue2 = $this->archivo->UploadPath . $this->archivo->Upload->DbValue;
$this->archivo->TooltipValue = "";
// estado
$this->estado->LinkCustomAttributes = "";
$this->estado->HrefValue = "";
$this->estado->TooltipValue = "";
} elseif ($this->RowType == EW_ROWTYPE_EDIT) {
// Edit row
// codigo
$this->codigo->EditAttrs["class"] = "form-control";
$this->codigo->EditCustomAttributes = "";
$this->codigo->EditValue = $this->codigo->CurrentValue;
$this->codigo->ViewCustomAttributes = "";
// Titulo
$this->Titulo->EditAttrs["class"] = "form-control";
$this->Titulo->EditCustomAttributes = "";
$this->Titulo->EditValue = ew_HtmlEncode($this->Titulo->CurrentValue);
$this->Titulo->PlaceHolder = ew_RemoveHtml($this->Titulo->FldCaption());
// Descripcion
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_tramitesedit.php
示例2: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
$this->ViewUrl = $this->GetViewUrl();
$this->EditUrl = $this->GetEditUrl();
$this->InlineEditUrl = $this->GetInlineEditUrl();
$this->CopyUrl = $this->GetCopyUrl();
$this->InlineCopyUrl = $this->GetInlineCopyUrl();
$this->DeleteUrl = $this->GetDeleteUrl();
// Convert decimal values if posted back
if ($this->importe->FormValue == $this->importe->CurrentValue && is_numeric(ew_StrToFloat($this->importe->CurrentValue))) {
$this->importe->CurrentValue = ew_StrToFloat($this->importe->CurrentValue);
}
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// id
// descripcion
// importe
// fecha_creacion
// activa
// id_usuario
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// id
$this->id->ViewValue = $this->id->CurrentValue;
$this->id->ViewCustomAttributes = "";
// descripcion
$this->descripcion->ViewValue = $this->descripcion->CurrentValue;
$this->descripcion->ViewCustomAttributes = "";
// importe
$this->importe->ViewValue = $this->importe->CurrentValue;
$this->importe->ViewCustomAttributes = "";
// fecha_creacion
$this->fecha_creacion->ViewValue = $this->fecha_creacion->CurrentValue;
$this->fecha_creacion->ViewValue = ew_FormatDateTime($this->fecha_creacion->ViewValue, 7);
$this->fecha_creacion->ViewCustomAttributes = "";
// activa
if (strval($this->activa->CurrentValue) != "") {
switch ($this->activa->CurrentValue) {
case $this->activa->FldTagValue(1):
$this->activa->ViewValue = $this->activa->FldTagCaption(1) != "" ? $this->activa->FldTagCaption(1) : $this->activa->CurrentValue;
break;
case $this->activa->FldTagValue(2):
$this->activa->ViewValue = $this->activa->FldTagCaption(2) != "" ? $this->activa->FldTagCaption(2) : $this->activa->CurrentValue;
break;
default:
$this->activa->ViewValue = $this->activa->CurrentValue;
}
} else {
$this->activa->ViewValue = NULL;
}
$this->activa->ViewCustomAttributes = "";
// id_usuario
$this->id_usuario->ViewValue = $this->id_usuario->CurrentValue;
$this->id_usuario->ViewCustomAttributes = "";
// id
$this->id->LinkCustomAttributes = "";
$this->id->HrefValue = "";
$this->id->TooltipValue = "";
// descripcion
$this->descripcion->LinkCustomAttributes = "";
$this->descripcion->HrefValue = "";
$this->descripcion->TooltipValue = "";
// importe
$this->importe->LinkCustomAttributes = "";
$this->importe->HrefValue = "";
$this->importe->TooltipValue = "";
// fecha_creacion
$this->fecha_creacion->LinkCustomAttributes = "";
$this->fecha_creacion->HrefValue = "";
$this->fecha_creacion->TooltipValue = "";
// activa
$this->activa->LinkCustomAttributes = "";
$this->activa->HrefValue = "";
$this->activa->TooltipValue = "";
// id_usuario
$this->id_usuario->LinkCustomAttributes = "";
$this->id_usuario->HrefValue = "";
$this->id_usuario->TooltipValue = "";
}
// Call Row Rendered event
if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
$this->Row_Rendered();
}
}
开发者ID:scintes,项目名称:sistemas,代码行数:88,代码来源:montoslist.php
示例3: RenderRow
//.........这里部分代码省略.........
$Customers->BillingZip->ViewCustomAttributes = "";
// BillingPhone
$Customers->BillingPhone->ViewValue = $Customers->BillingPhone->CurrentValue;
$Customers->BillingPhone->CssStyle = "";
$Customers->BillingPhone->CssClass = "";
$Customers->BillingPhone->ViewCustomAttributes = "";
// BillingCardType
$Customers->BillingCardType->ViewValue = $Customers->BillingCardType->CurrentValue;
$Customers->BillingCardType->CssStyle = "";
$Customers->BillingCardType->CssClass = "";
$Customers->BillingCardType->ViewCustomAttributes = "";
// BillingCardNumber
$Customers->BillingCardNumber->ViewValue = $Customers->BillingCardNumber->CurrentValue;
$Customers->BillingCardNumber->CssStyle = "";
$Customers->BillingCardNumber->CssClass = "";
$Customers->BillingCardNumber->ViewCustomAttributes = "";
// CIMCustID
$Customers->CIMCustID->ViewValue = $Customers->CIMCustID->CurrentValue;
$Customers->CIMCustID->CssStyle = "";
$Customers->CIMCustID->CssClass = "";
$Customers->CIMCustID->ViewCustomAttributes = "";
// CIMPymtProfID
$Customers->CIMPymtProfID->ViewValue = $Customers->CIMPymtProfID->CurrentValue;
$Customers->CIMPymtProfID->CssStyle = "";
$Customers->CIMPymtProfID->CssClass = "";
$Customers->CIMPymtProfID->ViewCustomAttributes = "";
// Customer_Type
$Customers->Customer_Type->ViewValue = $Customers->Customer_Type->CurrentValue;
$Customers->Customer_Type->CssStyle = "";
$Customers->Customer_Type->CssClass = "";
$Customers->Customer_Type->ViewCustomAttributes = "";
// First_Order_Date
$Customers->First_Order_Date->ViewValue = $Customers->First_Order_Date->CurrentValue;
$Customers->First_Order_Date->ViewValue = ew_FormatDateTime($Customers->First_Order_Date->ViewValue, 6);
$Customers->First_Order_Date->CssStyle = "";
$Customers->First_Order_Date->CssClass = "";
$Customers->First_Order_Date->ViewCustomAttributes = "";
// Last_Order_Date
$Customers->Last_Order_Date->ViewValue = $Customers->Last_Order_Date->CurrentValue;
$Customers->Last_Order_Date->ViewValue = ew_FormatDateTime($Customers->Last_Order_Date->ViewValue, 6);
$Customers->Last_Order_Date->CssStyle = "";
$Customers->Last_Order_Date->CssClass = "";
$Customers->Last_Order_Date->ViewCustomAttributes = "";
// Total_Orders
$Customers->Total_Orders->ViewValue = $Customers->Total_Orders->CurrentValue;
$Customers->Total_Orders->CssStyle = "";
$Customers->Total_Orders->CssClass = "";
$Customers->Total_Orders->ViewCustomAttributes = "";
// Delivery_Window
if (strval($Customers->Delivery_Window->CurrentValue) != "") {
switch ($Customers->Delivery_Window->CurrentValue) {
case "1-4":
$Customers->Delivery_Window->ViewValue = "1-4";
break;
case "5-8":
$Customers->Delivery_Window->ViewValue = "5-8";
break;
default:
$Customers->Delivery_Window->ViewValue = $Customers->Delivery_Window->CurrentValue;
}
} else {
$Customers->Delivery_Window->ViewValue = NULL;
}
$Customers->Delivery_Window->CssStyle = "";
$Customers->Delivery_Window->CssClass = "";
$Customers->Delivery_Window->ViewCustomAttributes = "";
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:67,代码来源:Customersdelete.php
示例4: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
$this->ViewUrl = $this->GetViewUrl();
$this->EditUrl = $this->GetEditUrl();
$this->InlineEditUrl = $this->GetInlineEditUrl();
$this->CopyUrl = $this->GetCopyUrl();
$this->InlineCopyUrl = $this->GetInlineCopyUrl();
$this->DeleteUrl = $this->GetDeleteUrl();
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// idcuenta
// idpaciente
// fecha_inicio
// fecha_final
// estado
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// idcuenta
$this->idcuenta->ViewValue = $this->idcuenta->CurrentValue;
$this->idcuenta->ViewCustomAttributes = "";
// idpaciente
if (strval($this->idpaciente->CurrentValue) != "") {
$sFilterWrk = "`idpaciente`" . ew_SearchString("=", $this->idpaciente->CurrentValue, EW_DATATYPE_NUMBER);
$sSqlWrk = "SELECT `idpaciente`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `paciente`";
$sWhereWrk = "";
if ($sFilterWrk != "") {
ew_AddFilter($sWhereWrk, $sFilterWrk);
}
// Call Lookup selecting
$this->Lookup_Selecting($this->idpaciente, $sWhereWrk);
if ($sWhereWrk != "") {
$sSqlWrk .= " WHERE " . $sWhereWrk;
}
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup values found
$this->idpaciente->ViewValue = $rswrk->fields('DispFld');
$rswrk->Close();
} else {
$this->idpaciente->ViewValue = $this->idpaciente->CurrentValue;
}
} else {
$this->idpaciente->ViewValue = NULL;
}
$this->idpaciente->ViewCustomAttributes = "";
// fecha_inicio
$this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
$this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
$this->fecha_inicio->ViewCustomAttributes = "";
// fecha_final
$this->fecha_final->ViewValue = $this->fecha_final->CurrentValue;
$this->fecha_final->ViewValue = ew_FormatDateTime($this->fecha_final->ViewValue, 7);
$this->fecha_final->ViewCustomAttributes = "";
// estado
if (strval($this->estado->CurrentValue) != "") {
switch ($this->estado->CurrentValue) {
case $this->estado->FldTagValue(1):
$this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
break;
case $this->estado->FldTagValue(2):
$this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
break;
default:
$this->estado->ViewValue = $this->estado->CurrentValue;
}
} else {
$this->estado->ViewValue = NULL;
}
$this->estado->ViewCustomAttributes = "";
// idpaciente
$this->idpaciente->LinkCustomAttributes = "";
$this->idpaciente->HrefValue = "";
$this->idpaciente->TooltipValue = "";
// fecha_inicio
$this->fecha_inicio->LinkCustomAttributes = "";
$this->fecha_inicio->HrefValue = "";
$this->fecha_inicio->TooltipValue = "";
// fecha_final
$this->fecha_final->LinkCustomAttributes = "";
$this->fecha_final->HrefValue = "";
$this->fecha_final->TooltipValue = "";
// estado
$this->estado->LinkCustomAttributes = "";
$this->estado->HrefValue = "";
$this->estado->TooltipValue = "";
}
// Call Row Rendered event
if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
$this->Row_Rendered();
}
}
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:95,代码来源:cuentalist.php
示例5: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
// Convert decimal values if posted back
if ($this->costo->FormValue == $this->costo->CurrentValue && is_numeric(ew_StrToFloat($this->costo->CurrentValue))) {
$this->costo->CurrentValue = ew_StrToFloat($this->costo->CurrentValue);
}
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// idservicio_medico_prestado
// idcuenta
// idservicio_medico
// estado
// costo
// fecha_inicio
// fecha_final
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// idservicio_medico_prestado
$this->idservicio_medico_prestado->ViewValue = $this->idservicio_medico_prestado->CurrentValue;
$this->idservicio_medico_prestado->ViewCustomAttributes = "";
// idcuenta
if (strval($this->idcuenta->CurrentValue) != "") {
$sFilterWrk = "`idcuenta`" . ew_SearchString("=", $this->idcuenta->CurrentValue, EW_DATATYPE_NUMBER);
$sSqlWrk = "SELECT `idcuenta`, `idcuenta` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `cuenta`";
$sWhereWrk = "";
if ($sFilterWrk != "") {
ew_AddFilter($sWhereWrk, $sFilterWrk);
}
// Call Lookup selecting
$this->Lookup_Selecting($this->idcuenta, $sWhereWrk);
if ($sWhereWrk != "") {
$sSqlWrk .= " WHERE " . $sWhereWrk;
}
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup values found
$this->idcuenta->ViewValue = $rswrk->fields('DispFld');
$rswrk->Close();
} else {
$this->idcuenta->ViewValue = $this->idcuenta->CurrentValue;
}
} else {
$this->idcuenta->ViewValue = NULL;
}
$this->idcuenta->ViewCustomAttributes = "";
// idservicio_medico
if (strval($this->idservicio_medico->CurrentValue) != "") {
$sFilterWrk = "`idservicio_medico`" . ew_SearchString("=", $this->idservicio_medico->CurrentValue, EW_DATATYPE_NUMBER);
$sSqlWrk = "SELECT `idservicio_medico`, `descripcion` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `servicio_medico`";
$sWhereWrk = "";
if ($sFilterWrk != "") {
ew_AddFilter($sWhereWrk, $sFilterWrk);
}
// Call Lookup selecting
$this->Lookup_Selecting($this->idservicio_medico, $sWhereWrk);
if ($sWhereWrk != "") {
$sSqlWrk .= " WHERE " . $sWhereWrk;
}
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup values found
$this->idservicio_medico->ViewValue = $rswrk->fields('DispFld');
$rswrk->Close();
} else {
$this->idservicio_medico->ViewValue = $this->idservicio_medico->CurrentValue;
}
} else {
$this->idservicio_medico->ViewValue = NULL;
}
$this->idservicio_medico->ViewCustomAttributes = "";
// estado
if (strval($this->estado->CurrentValue) != "") {
switch ($this->estado->CurrentValue) {
case $this->estado->FldTagValue(1):
$this->estado->ViewValue = $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->CurrentValue;
break;
case $this->estado->FldTagValue(2):
$this->estado->ViewValue = $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->CurrentValue;
break;
case $this->estado->FldTagValue(3):
$this->estado->ViewValue = $this->estado->FldTagCaption(3) != "" ? $this->estado->FldTagCaption(3) : $this->estado->CurrentValue;
break;
default:
$this->estado->ViewValue = $this->estado->CurrentValue;
}
} else {
$this->estado->ViewValue = NULL;
}
$this->estado->ViewCustomAttributes = "";
// costo
$this->costo->ViewValue = $this->costo->CurrentValue;
$this->costo->ViewCustomAttributes = "";
// fecha_inicio
$this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
$this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
$this->fecha_inicio->ViewCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:101,代码来源:servicio_medico_prestadoadd.php
示例6: RenderRow
function RenderRow()
{
global $conn, $Security, $Kitchen_Report_22D2;
// Common render codes for all row types
// PublishedDate
$Kitchen_Report_22D2->PublishedDate->CellCssStyle = "";
$Kitchen_Report_22D2->PublishedDate->CellCssClass = "";
// DeliveryDate
$Kitchen_Report_22D2->DeliveryDate->CellCssStyle = "";
$Kitchen_Report_22D2->DeliveryDate->CellCssClass = "";
// MenuName
$Kitchen_Report_22D2->MenuName->CellCssStyle = "";
$Kitchen_Report_22D2->MenuName->CellCssClass = "";
// ItemName
$Kitchen_Report_22D2->ItemName->CellCssStyle = "";
$Kitchen_Report_22D2->ItemName->CellCssClass = "";
// TotalServings
$Kitchen_Report_22D2->TotalServings->CellCssStyle = "";
$Kitchen_Report_22D2->TotalServings->CellCssClass = "";
// TotalOrders
$Kitchen_Report_22D2->TotalOrders->CellCssStyle = "";
$Kitchen_Report_22D2->TotalOrders->CellCssClass = "";
// 1servings
$Kitchen_Report_22D2->z1servings->CellCssStyle = "";
$Kitchen_Report_22D2->z1servings->CellCssClass = "";
// 2servings
$Kitchen_Report_22D2->z2servings->CellCssStyle = "";
$Kitchen_Report_22D2->z2servings->CellCssClass = "";
// 3servings
$Kitchen_Report_22D2->z3servings->CellCssStyle = "";
$Kitchen_Report_22D2->z3servings->CellCssClass = "";
// 4servings
$Kitchen_Report_22D2->z4servings->CellCssStyle = "";
$Kitchen_Report_22D2->z4servings->CellCssClass = "";
// 5servings
$Kitchen_Report_22D2->z5servings->CellCssStyle = "";
$Kitchen_Report_22D2->z5servings->CellCssClass = "";
// 6servings
$Kitchen_Report_22D2->z6servings->CellCssStyle = "";
$Kitchen_Report_22D2->z6servings->CellCssClass = "";
// 7servings
$Kitchen_Report_22D2->z7servings->CellCssStyle = "";
$Kitchen_Report_22D2->z7servings->CellCssClass = "";
// 8servings
$Kitchen_Report_22D2->z8servings->CellCssStyle = "";
$Kitchen_Report_22D2->z8servings->CellCssClass = "";
if ($Kitchen_Report_22D2->RowType == EW_ROWTYPE_VIEW) {
// View row
// PublishedDate
$Kitchen_Report_22D2->PublishedDate->ViewValue = $Kitchen_Report_22D2->PublishedDate->CurrentValue;
$Kitchen_Report_22D2->PublishedDate->ViewValue = ew_FormatDateTime($Kitchen_Report_22D2->PublishedDate->ViewValue, 6);
$Kitchen_Report_22D2->PublishedDate->CssStyle = "";
$Kitchen_Report_22D2->PublishedDate->CssClass = "";
$Kitchen_Report_22D2->PublishedDate->ViewCustomAttributes = "";
// DeliveryDate
$Kitchen_Report_22D2->DeliveryDate->ViewValue = $Kitchen_Report_22D2->DeliveryDate->CurrentValue;
$Kitchen_Report_22D2->DeliveryDate->ViewValue = ew_FormatDateTime($Kitchen_Report_22D2->DeliveryDate->ViewValue, 6);
$Kitchen_Report_22D2->DeliveryDate->CssStyle = "";
$Kitchen_Report_22D2->DeliveryDate->CssClass = "";
$Kitchen_Report_22D2->DeliveryDate->ViewCustomAttributes = "";
// MenuName
$Kitchen_Report_22D2->MenuName->ViewValue = $Kitchen_Report_22D2->MenuName->CurrentValue;
$Kitchen_Report_22D2->MenuName->CssStyle = "";
$Kitchen_Report_22D2->MenuName->CssClass = "";
$Kitchen_Report_22D2->MenuName->ViewCustomAttributes = "";
// ItemName
$Kitchen_Report_22D2->ItemName->ViewValue = $Kitchen_Report_22D2->ItemName->CurrentValue;
$Kitchen_Report_22D2->ItemName->CssStyle = "";
$Kitchen_Report_22D2->ItemName->CssClass = "";
$Kitchen_Report_22D2->ItemName->ViewCustomAttributes = "";
// TotalServings
$Kitchen_Report_22D2->TotalServings->ViewValue = $Kitchen_Report_22D2->TotalServings->CurrentValue;
$Kitchen_Report_22D2->TotalServings->CssStyle = "";
$Kitchen_Report_22D2->TotalServings->CssClass = "";
$Kitchen_Report_22D2->TotalServings->ViewCustomAttributes = "";
// TotalOrders
$Kitchen_Report_22D2->TotalOrders->ViewValue = $Kitchen_Report_22D2->TotalOrders->CurrentValue;
$Kitchen_Report_22D2->TotalOrders->CssStyle = "";
$Kitchen_Report_22D2->TotalOrders->CssClass = "";
$Kitchen_Report_22D2->TotalOrders->ViewCustomAttributes = "";
// 1servings
$Kitchen_Report_22D2->z1servings->ViewValue = $Kitchen_Report_22D2->z1servings->CurrentValue;
$Kitchen_Report_22D2->z1servings->CssStyle = "";
$Kitchen_Report_22D2->z1servings->CssClass = "";
$Kitchen_Report_22D2->z1servings->ViewCustomAttributes = "";
// 2servings
$Kitchen_Report_22D2->z2servings->ViewValue = $Kitchen_Report_22D2->z2servings->CurrentValue;
$Kitchen_Report_22D2->z2servings->CssStyle = "";
$Kitchen_Report_22D2->z2servings->CssClass = "";
$Kitchen_Report_22D2->z2servings->ViewCustomAttributes = "";
// 3servings
$Kitchen_Report_22D2->z3servings->ViewValue = $Kitchen_Report_22D2->z3servings->CurrentValue;
$Kitchen_Report_22D2->z3servings->CssStyle = "";
$Kitchen_Report_22D2->z3servings->CssClass = "";
$Kitchen_Report_22D2->z3servings->ViewCustomAttributes = "";
// 4servings
$Kitchen_Report_22D2->z4servings->ViewValue = $Kitchen_Report_22D2->z4servings->CurrentValue;
$Kitchen_Report_22D2->z4servings->CssStyle = "";
$Kitchen_Report_22D2->z4servings->CssClass = "";
$Kitchen_Report_22D2->z4servings->ViewCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Kitchen_Report_22D2report.php
示例7: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
$this->AddUrl = $this->GetAddUrl();
$this->EditUrl = $this->GetEditUrl();
$this->CopyUrl = $this->GetCopyUrl();
$this->DeleteUrl = $this->GetDeleteUrl();
$this->ListUrl = $this->GetListUrl();
$this->SetupOtherOptions();
// Convert decimal values if posted back
if ($this->monto->FormValue == $this->monto->CurrentValue && is_numeric(ew_StrToFloat($this->monto->CurrentValue))) {
$this->monto->CurrentValue = ew_StrToFloat($this->monto->CurrentValue);
}
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// id
// mes
// anio
// fecha
// monto
// id_usuario
// id_socio
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// id
$this->id->ViewCustomAttributes = "";
// mes
$this->mes->ViewValue = $this->mes->CurrentValue;
$this->mes->ViewCustomAttributes = "";
// anio
$this->anio->ViewValue = $this->anio->CurrentValue;
$this->anio->ViewCustomAttributes = "";
// fecha
$this->fecha->ViewValue = $this->fecha->CurrentValue;
$this->fecha->ViewValue = ew_FormatDateTime($this->fecha->ViewValue, 7);
$this->fecha->ViewCustomAttributes = "";
// monto
$this->monto->ViewValue = $this->monto->CurrentValue;
$this->monto->ViewValue = ew_FormatCurrency($this->monto->ViewValue, 0, -2, -2, -2);
$this->monto->ViewCustomAttributes = "";
// id_socio
if (strval($this->id_socio->CurrentValue) != "") {
$sFilterWrk = "`socio_nro`" . ew_SearchString("=", $this->id_socio->CurrentValue, EW_DATATYPE_NUMBER);
$sSqlWrk = "SELECT `socio_nro`, `propietario` AS `DispFld`, `comercio` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `socios`";
$sWhereWrk = "";
$lookuptblfilter = "`activo`='S'";
if (strval($lookuptblfilter) != "") {
ew_AddFilter($sWhereWrk, $lookuptblfilter);
}
if ($sFilterWrk != "") {
ew_AddFilter($sWhereWrk, $sFilterWrk);
}
// Call Lookup selecting
$this->Lookup_Selecting($this->id_socio, $sWhereWrk);
if ($sWhereWrk != "") {
$sSqlWrk .= " WHERE " . $sWhereWrk;
}
$sSqlWrk .= " ORDER BY `propietario` DESC";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) {
// Lookup values found
$this->id_socio->ViewValue = $rswrk->fields('DispFld');
$this->id_socio->ViewValue .= ew_ValueSeparator(1, $this->id_socio) . $rswrk->fields('Disp2Fld');
$rswrk->Close();
} else {
$this->id_socio->ViewValue = $this->id_socio->CurrentValue;
}
} else {
$this->id_socio->ViewValue = NULL;
}
$this->id_socio->ViewCustomAttributes = "";
// id
$this->id->LinkCustomAttributes = "";
$this->id->HrefValue = "";
$this->id->TooltipValue = "";
// mes
$this->mes->LinkCustomAttributes = "";
$this->mes->HrefValue = "";
$this->mes->TooltipValue = "";
// anio
$this->anio->LinkCustomAttributes = "";
$this->anio->HrefValue = "";
$this->anio->TooltipValue = "";
// fecha
$this->fecha->LinkCustomAttributes = "";
$this->fecha->HrefValue = "";
$this->fecha->TooltipValue = "";
// monto
$this->monto->LinkCustomAttributes = "";
$this->monto->HrefValue = "";
$this->monto->TooltipValue = "";
// id_socio
$this->id_socio->LinkCustomAttributes = "";
$this->id_socio->HrefValue = "";
$this->id_socio->TooltipValue = "";
}
// Call Row Rendered event
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasview.php
示例8: RenderRow
function RenderRow()
{
global $conn, $Security, $Delivery_Report_1;
// Common render codes for all row types
// PublishedDate
$Delivery_Report_1->PublishedDate->CellCssStyle = "";
$Delivery_Report_1->PublishedDate->CellCssClass = "";
// DeliveryDate
$Delivery_Report_1->DeliveryDate->CellCssStyle = "";
$Delivery_Report_1->DeliveryDate->CellCssClass = "";
// Delivery_Window
$Delivery_Report_1->Delivery_Window->CellCssStyle = "";
$Delivery_Report_1->Delivery_Window->CellCssClass = "";
// CustomerName
$Delivery_Report_1->CustomerName->CellCssStyle = "";
$Delivery_Report_1->CustomerName->CellCssClass = "";
// Email
$Delivery_Report_1->zEmail->CellCssStyle = "";
$Delivery_Report_1->zEmail->CellCssClass = "";
// DeliveryAddress
$Delivery_Report_1->DeliveryAddress->CellCssStyle = "";
$Delivery_Report_1->DeliveryAddress->CellCssClass = "";
// DeliveryCity
$Delivery_Report_1->DeliveryCity->CellCssStyle = "";
$Delivery_Report_1->DeliveryCity->CellCssClass = "";
// DeliveryZip
$Delivery_Report_1->DeliveryZip->CellCssStyle = "";
$Delivery_Report_1->DeliveryZip->CellCssClass = "";
// DeliveryComments
$Delivery_Report_1->DeliveryComments->CellCssStyle = "";
$Delivery_Report_1->DeliveryComments->CellCssClass = "";
if ($Delivery_Report_1->RowType == EW_ROWTYPE_VIEW) {
// View row
// PublishedDate
$Delivery_Report_1->PublishedDate->ViewValue = $Delivery_Report_1->PublishedDate->CurrentValue;
$Delivery_Report_1->PublishedDate->ViewValue = ew_FormatDateTime($Delivery_Report_1->PublishedDate->ViewValue, 6);
$Delivery_Report_1->PublishedDate->CssStyle = "";
$Delivery_Report_1->PublishedDate->CssClass = "";
$Delivery_Report_1->PublishedDate->ViewCustomAttributes = "";
// DeliveryDate
$Delivery_Report_1->DeliveryDate->ViewValue = $Delivery_Report_1->DeliveryDate->CurrentValue;
$Delivery_Report_1->DeliveryDate->ViewValue = ew_FormatDateTime($Delivery_Report_1->DeliveryDate->ViewValue, 6);
$Delivery_Report_1->DeliveryDate->CssStyle = "";
$Delivery_Report_1->DeliveryDate->CssClass = "";
$Delivery_Report_1->DeliveryDate->ViewCustomAttributes = "";
// Delivery_Window
if (strval($Delivery_Report_1->Delivery_Window->CurrentValue) != "") {
switch ($Delivery_Report_1->Delivery_Window->CurrentValue) {
case "1-4":
$Delivery_Report_1->Delivery_Window->ViewValue = "1-4";
break;
case "5-8":
$Delivery_Report_1->Delivery_Window->ViewValue = "5-8";
break;
default:
$Delivery_Report_1->Delivery_Window->ViewValue = $Delivery_Report_1->Delivery_Window->CurrentValue;
}
} else {
$Delivery_Report_1->Delivery_Window->ViewValue = NULL;
}
$Delivery_Report_1->Delivery_Window->CssStyle = "";
$Delivery_Report_1->Delivery_Window->CssClass = "";
$Delivery_Report_1->Delivery_Window->ViewCustomAttributes = "";
// CustomerName
$Delivery_Report_1->CustomerName->ViewValue = $Delivery_Report_1->CustomerName->CurrentValue;
$Delivery_Report_1->CustomerName->CssStyle = "";
$Delivery_Report_1->CustomerName->CssClass = "";
$Delivery_Report_1->CustomerName->ViewCustomAttributes = "";
// Email
$Delivery_Report_1->zEmail->ViewValue = $Delivery_Report_1->zEmail->CurrentValue;
$Delivery_Report_1->zEmail->CssStyle = "";
$Delivery_Report_1->zEmail->CssClass = "";
$Delivery_Report_1->zEmail->ViewCustomAttributes = "";
// DeliveryAddress
$Delivery_Report_1->DeliveryAddress->ViewValue = $Delivery_Report_1->DeliveryAddress->CurrentValue;
$Delivery_Report_1->DeliveryAddress->CssStyle = "";
$Delivery_Report_1->DeliveryAddress->CssClass = "";
$Delivery_Report_1->DeliveryAddress->ViewCustomAttributes = "";
// DeliveryCity
$Delivery_Report_1->DeliveryCity->ViewValue = $Delivery_Report_1->DeliveryCity->CurrentValue;
$Delivery_Report_1->DeliveryCity->CssStyle = "";
$Delivery_Report_1->DeliveryCity->CssClass = "";
$Delivery_Report_1->DeliveryCity->ViewCustomAttributes = "";
// DeliveryZip
$Delivery_Report_1->DeliveryZip->ViewValue = $Delivery_Report_1->DeliveryZip->CurrentValue;
$Delivery_Report_1->DeliveryZip->CssStyle = "";
$Delivery_Report_1->DeliveryZip->CssClass = "";
$Delivery_Report_1->DeliveryZip->ViewCustomAttributes = "";
// DeliveryComments
$Delivery_Report_1->DeliveryComments->ViewValue = $Delivery_Report_1->DeliveryComments->CurrentValue;
$Delivery_Report_1->DeliveryComments->CssStyle = "";
$Delivery_Report_1->DeliveryComments->CssClass = "";
$Delivery_Report_1->DeliveryComments->ViewCustomAttributes = "";
// PublishedDate
$Delivery_Report_1->PublishedDate->HrefValue = "";
// DeliveryDate
$Delivery_Report_1->DeliveryDate->HrefValue = "";
// Delivery_Window
$Delivery_Report_1->Delivery_Window->HrefValue = "";
// CustomerName
//.........这里部分代码省略.........
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:101,代码来源:Delivery_Report_1report.php
示例9: RenderRow
function RenderRow()
{
global $conn, $Security, $Language;
global $gsLanguage;
// Initialize URLs
// Call Row_Rendering event
$this->Row_Rendering();
// Common render codes for all row types
// codigo
// nombre
// direccion
// fecha_nacimiento
// tel
// cel
// email
// fecha_inicio
// cetegoria
// datos
if ($this->RowType == EW_ROWTYPE_VIEW) {
// View row
// codigo
$this->codigo->ViewValue = $this->codigo->CurrentValue;
$this->codigo->ViewCustomAttributes = "";
// nombre
$this->nombre->ViewValue = $this->nombre->CurrentValue;
$this->nombre->ViewCustomAttributes = "";
// direccion
$this->direccion->ViewValue = $this->direccion->CurrentValue;
$this->direccion->ViewCustomAttributes = "";
// fecha_nacimiento
$this->fecha_nacimiento->ViewValue = $this->fecha_nacimiento->CurrentValue;
$this->fecha_nacimiento->ViewValue = ew_FormatDateTime($this->fecha_nacimiento->ViewValue, 7);
$this->fecha_nacimiento->ViewCustomAttributes = "";
// tel
$this->tel->ViewValue = $this->tel->CurrentValue;
$this->tel->ViewCustomAttributes = "";
// cel
$this->cel->ViewValue = $this->cel->CurrentValue;
$this->cel->ViewCustomAttributes = "";
// email
$this->_email->ViewValue = $this->_email->CurrentValue;
$this->_email->ViewValue = strtolower($this->_email->ViewValue);
$this->_email->ViewCustomAttributes = "";
// fecha_inicio
$this->fecha_inicio->ViewValue = $this->fecha_inicio->CurrentValue;
$this->fecha_inicio->ViewValue = ew_FormatDateTime($this->fecha_inicio->ViewValue, 7);
$this->fecha_inicio->ViewCustomAttributes = "";
// cetegoria
$this->cetegoria->ViewValue = $this->cetegoria->CurrentValue;
$this->cetegoria->ViewValue = ew_FormatNumber($this->cetegoria->ViewValue, 0, -2, -2, -2);
$this->cetegoria->ViewCustomAttributes = "";
// datos
$this->datos->ViewValue = $this->datos->CurrentValue;
$this->datos->ViewCustomAttributes = "";
// nombre
$this->nombre->LinkCustomAttributes = "";
$this->nombre->HrefValue = "";
$this->nombre->TooltipValue = "";
// direccion
$this->direccion->LinkCustomAttributes = "";
$this->direccion->HrefValue = "";
$this->direccion->TooltipValue = "";
// fecha_nacimiento
$this->fecha_nacimiento->LinkCustomAttributes = "";
$this->fecha_nacimiento->HrefValue = "";
$this->fecha_nacimiento->TooltipValue = "";
// tel
$this->tel->LinkCustomAttributes = "";
$this->tel->HrefValue = "";
$this->tel->TooltipValue = "";
// cel
$this->cel->LinkCustomAttributes = "";
$this->cel->HrefValue = "";
$this->cel->TooltipValue = "";
// email
$this->_email->LinkCustomAttributes = "";
$this->_email->HrefValue = "";
$this->_email->TooltipValue = "";
// fecha_inicio
$this->fecha_inicio->LinkCustomAttributes = "";
$this->fecha_inicio->HrefValue = "";
$this->fecha_inicio->TooltipValue = "";
// cetegoria
$this->cetegoria->LinkCustomAttributes = "";
$this->cetegoria->HrefValue = "";
$this->cetegoria->TooltipValue = "";
// datos
$this->datos->LinkCustomAttributes = "";
$this->datos->HrefValue = "";
$this->datos->TooltipValue = "";
} elseif ($this->RowType == EW_ROWTYPE_ADD) {
// Add row
// nombre
$this->nombre->EditAttrs["class"] = "form-control";
$this->nombre->EditCustomAttributes = "";
$this->nombre->EditValue = ew_HtmlEncode($this->nombre->CurrentValue);
$this->nombre->PlaceHolder = ew_RemoveHtml($this->nombre->FldCaption());
// direccion
$this->direccion->EditAttrs["class"] = "form-control";
$this->direccion->EditCustomAttributes = "";
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:choferesadd.php
示例10: RenderRow
function RenderRow()
{
global $conn, $Security, $patient_main;
// Call Row_Rendering event
$patient_main->Row_Rendering();
// Common render codes for all row types
// PatientMainNo
$patient_main->PatientMainNo->CellCssStyle = "";
$patient_main->PatientMainNo->CellCssClass = "";
// PatientID
$patient_main->PatientID->CellCssStyle = "";
$patient_main->PatientID->CellCssClass = "";
// PatientName
$patient_main->PatientName->CellCssStyle = "";
$patient_main->PatientName->CellCssClass = "";
// PatientBirthDate
$patient_main->PatientBirthDate->CellCssStyle = "";
$patient_main->PatientBirthDate->CellCssClass = "";
// PatientSex
$patient_main->PatientSex->CellCssStyle = "";
$patient_main->PatientSex->CellCssClass = "";
// OtherPatientID
$patient_main->OtherPatientID->CellCssStyle = "";
$patient_main->OtherPatientID->CellCssClass = "";
if ($patient_main->RowType == EW_ROWTYPE_VIEW) {
// View row
// PatientMainNo
$patient_main->PatientMainNo->ViewValue = $patient_main->PatientMainNo->CurrentValue;
$patient_main->PatientMainNo->CssStyle = "";
$patient_main->PatientMainNo->CssClass = "";
$patient_main->PatientMainNo->ViewCustomAttributes = "";
// PatientID
$patient_main->PatientID->ViewValue = $patient_main->PatientID->CurrentValue;
$patient_main->PatientID->CssStyle = "";
$patient_main->PatientID->CssClass = "";
$patient_main->PatientID->ViewCustomAttributes = "";
// PatientName
$patient_main->PatientName->ViewValue = $patient_main->PatientName->CurrentValue;
$patient_main->PatientName->CssStyle = "";
$patient_main->PatientName->CssClass = "";
$patient_main->PatientName->ViewCustomAttributes = "";
// PatientBirthDate
$patient_main->PatientBirthDate->ViewValue = $patient_main->PatientBirthDate->CurrentValue;
$patient_main->PatientBirthDate->ViewValue = ew_FormatDateTime($patient_main->PatientBirthDate->ViewValue, 5);
$patient_main->PatientBirthDate->CssStyle = "";
$patient_main->PatientBirthDate->CssClass = "";
$patient_main
|
请发表评论