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


PHP ew_RemoveHtml函数代码示例

本文整理汇总了PHP中ew_RemoveHtml函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_RemoveHtml函数的具体用法?PHP ew_RemoveHtml怎么用?PHP ew_RemoveHtml使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // idempleado
     $this->idempleado->EditAttrs["class"] = "form-control";
     $this->idempleado->EditCustomAttributes = "";
     $this->idempleado->EditValue = $this->idempleado->CurrentValue;
     $this->idempleado->ViewCustomAttributes = "";
     // 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());
     // apellido
     $this->apellido->EditAttrs["class"] = "form-control";
     $this->apellido->EditCustomAttributes = "";
     $this->apellido->EditValue = ew_HtmlEncode($this->apellido->CurrentValue);
     $this->apellido->PlaceHolder = ew_RemoveHtml($this->apellido->FldCaption());
     // cui
     $this->cui->EditAttrs["class"] = "form-control";
     $this->cui->EditCustomAttributes = "";
     $this->cui->EditValue = ew_HtmlEncode($this->cui->CurrentValue);
     $this->cui->PlaceHolder = ew_RemoveHtml($this->cui->FldCaption());
     // telefono
     $this->telefono->EditAttrs["class"] = "form-control";
     $this->telefono->EditCustomAttributes = "";
     $this->telefono->EditValue = ew_HtmlEncode($this->telefono->CurrentValue);
     $this->telefono->PlaceHolder = ew_RemoveHtml($this->telefono->FldCaption());
     // direccion
     $this->direccion->EditAttrs["class"] = "form-control";
     $this->direccion->EditCustomAttributes = "";
     $this->direccion->EditValue = ew_HtmlEncode($this->direccion->CurrentValue);
     $this->direccion->PlaceHolder = ew_RemoveHtml($this->direccion->FldCaption());
     // estado
     $this->estado->EditCustomAttributes = "";
     $arwrk = array();
     $arwrk[] = array($this->estado->FldTagValue(1), $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->FldTagValue(1));
     $arwrk[] = array($this->estado->FldTagValue(2), $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->FldTagValue(2));
     $this->estado->EditValue = $arwrk;
     // idhospital
     $this->idhospital->EditAttrs["class"] = "form-control";
     $this->idhospital->EditCustomAttributes = "";
     if ($this->idhospital->getSessionValue() != "") {
         $this->idhospital->CurrentValue = $this->idhospital->getSessionValue();
         if (strval($this->idhospital->CurrentValue) != "") {
             $sFilterWrk = "`idhospital`" . ew_SearchString("=", $this->idhospital->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idhospital`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `hospital`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idhospital, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idhospital->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idhospital->ViewValue = $this->idhospital->CurrentValue;
             }
         } else {
             $this->idhospital->ViewValue = NULL;
         }
         $this->idhospital->ViewCustomAttributes = "";
     } else {
     }
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:75,代码来源:empleadoinfo.php

示例2: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // codigo
     $this->codigo->EditAttrs["class"] = "form-control";
     $this->codigo->EditCustomAttributes = "";
     $this->codigo->EditValue = $this->codigo->CurrentValue;
     $this->codigo->ViewCustomAttributes = "";
     // tipo_gasto
     $this->tipo_gasto->EditAttrs["class"] = "form-control";
     $this->tipo_gasto->EditCustomAttributes = "";
     $this->tipo_gasto->EditValue = ew_HtmlEncode($this->tipo_gasto->CurrentValue);
     $this->tipo_gasto->PlaceHolder = ew_RemoveHtml($this->tipo_gasto->FldCaption());
     // clase
     $this->clase->EditCustomAttributes = "";
     $arwrk = array();
     $arwrk[] = array($this->clase->FldTagValue(1), $this->clase->FldTagCaption(1) != "" ? $this->clase->FldTagCaption(1) : $this->clase->FldTagValue(1));
     $arwrk[] = array($this->clase->FldTagValue(2), $this->clase->FldTagCaption(2) != "" ? $this->clase->FldTagCaption(2) : $this->clase->FldTagValue(2));
     $this->clase->EditValue = $arwrk;
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:24,代码来源:tipo_gastosinfo.php

示例3: RenderEditRow

 function RenderEditRow()
 {
     global $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // CARD_TYPE_ID
     $this->CARD_TYPE_ID->EditAttrs["class"] = "form-control";
     $this->CARD_TYPE_ID->EditCustomAttributes = "";
     $this->CARD_TYPE_ID->EditValue = $this->CARD_TYPE_ID->CurrentValue;
     $this->CARD_TYPE_ID->ViewCustomAttributes = "";
     // DESCRIPTION
     $this->DESCRIPTION->EditAttrs["class"] = "form-control";
     $this->DESCRIPTION->EditCustomAttributes = "";
     $this->DESCRIPTION->EditValue = $this->DESCRIPTION->CurrentValue;
     $this->DESCRIPTION->PlaceHolder = ew_RemoveHtml($this->DESCRIPTION->FldCaption());
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:18,代码来源:card_typeinfo.php

示例4: RenderRow

 function RenderRow()
 {
     global $Security, $Language, $gsLanguage;
     // Initialize URLs
     // Convert decimal values if posted back
     if ($this->ACCOUNT_NUMBER->FormValue == $this->ACCOUNT_NUMBER->CurrentValue && is_numeric(ew_StrToFloat($this->ACCOUNT_NUMBER->CurrentValue))) {
         $this->ACCOUNT_NUMBER->CurrentValue = ew_StrToFloat($this->ACCOUNT_NUMBER->CurrentValue);
     }
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // BANK_ACCOUNT_ID
     // CODE
     // DESCRIPTION
     // ACCOUNT_NUMBER
     // BANK_ID
     // ACTIVE
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // CODE
         $this->CODE->ViewValue = $this->CODE->CurrentValue;
         $this->CODE->ViewCustomAttributes = "";
         // DESCRIPTION
         $this->DESCRIPTION->ViewValue = $this->DESCRIPTION->CurrentValue;
         $this->DESCRIPTION->ViewCustomAttributes = "";
         // ACCOUNT_NUMBER
         $this->ACCOUNT_NUMBER->ViewValue = $this->ACCOUNT_NUMBER->CurrentValue;
         $this->ACCOUNT_NUMBER->ViewCustomAttributes = "";
         // BANK_ID
         if (strval($this->BANK_ID->CurrentValue) != "") {
             $sFilterWrk = "`BANK_ID`" . ew_SearchString("=", $this->BANK_ID->CurrentValue, EW_DATATYPE_NUMBER, "");
             switch (@$gsLanguage) {
                 case "es":
                     $sSqlWrk = "SELECT `BANK_ID`, `DESCRIPTION` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `bank`";
                     $sWhereWrk = "";
                     break;
                 default:
                     $sSqlWrk = "SELECT `BANK_ID`, `DESCRIPTION` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `bank`";
                     $sWhereWrk = "";
                     break;
             }
             ew_AddFilter($sWhereWrk, $sFilterWrk);
             $this->Lookup_Selecting($this->BANK_ID, $sWhereWrk);
             // Call Lookup selecting
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = Conn()->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $arwrk = array();
                 $arwrk[1] = $rswrk->fields('DispFld');
                 $this->BANK_ID->ViewValue = $this->BANK_ID->DisplayValue($arwrk);
                 $rswrk->Close();
             } else {
                 $this->BANK_ID->ViewValue = $this->BANK_ID->CurrentValue;
             }
         } else {
             $this->BANK_ID->ViewValue = NULL;
         }
         $this->BANK_ID->ViewCustomAttributes = "";
         // ACTIVE
         if (strval($this->ACTIVE->CurrentValue) != "") {
             $this->ACTIVE->ViewValue = $this->ACTIVE->OptionCaption($this->ACTIVE->CurrentValue);
         } else {
             $this->ACTIVE->ViewValue = NULL;
         }
         $this->ACTIVE->ViewCustomAttributes = "";
         // CODE
         $this->CODE->LinkCustomAttributes = "";
         $this->CODE->HrefValue = "";
         $this->CODE->TooltipValue = "";
         // DESCRIPTION
         $this->DESCRIPTION->LinkCustomAttributes = "";
         $this->DESCRIPTION->HrefValue = "";
         $this->DESCRIPTION->TooltipValue = "";
         // ACCOUNT_NUMBER
         $this->ACCOUNT_NUMBER->LinkCustomAttributes = "";
         $this->ACCOUNT_NUMBER->HrefValue = "";
         $this->ACCOUNT_NUMBER->TooltipValue = "";
         // BANK_ID
         $this->BANK_ID->LinkCustomAttributes = "";
         $this->BANK_ID->HrefValue = "";
         $this->BANK_ID->TooltipValue = "";
         // ACTIVE
         $this->ACTIVE->LinkCustomAttributes = "";
         $this->ACTIVE->HrefValue = "";
         $this->ACTIVE->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // CODE
         $this->CODE->EditAttrs["class"] = "form-control";
         $this->CODE->EditCustomAttributes = "";
         $this->CODE->EditValue = ew_HtmlEncode($this->CODE->CurrentValue);
         $this->CODE->PlaceHolder = ew_RemoveHtml($this->CODE->FldCaption());
         // DESCRIPTION
         $this->DESCRIPTION->EditAttrs["class"] = "form-control";
         $this->DESCRIPTION->EditCustomAttributes = "";
         $this->DESCRIPTION->EditValue = ew_HtmlEncode($this->DESCRIPTION->CurrentValue);
         $this->DESCRIPTION->PlaceHolder = ew_RemoveHtml($this->DESCRIPTION->FldCaption());
//.........这里部分代码省略.........
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:101,代码来源:bank_accountedit.php

示例5: RenderRow


//.........这里部分代码省略.........
                 if ($ari < $cnt - 1) {
                     $this->division->ViewValue .= ew_ViewOptionSeparator($ari);
                 }
             }
         } else {
             $this->division->ViewValue = NULL;
         }
         $this->division->ViewCustomAttributes = "";
         // has_expansion
         if (strval($this->has_expansion->CurrentValue) != "") {
             $this->has_expansion->ViewValue = $this->has_expansion->OptionCaption($this->has_expansion->CurrentValue);
         } else {
             $this->has_expansion->ViewValue = NULL;
         }
         $this->has_expansion->ViewCustomAttributes = "";
         // notes
         $this->notes->ViewValue = $this->notes->CurrentValue;
         $this->notes->ViewCustomAttributes = "";
         // name
         $this->name->LinkCustomAttributes = "";
         $this->name->HrefValue = "";
         $this->name->TooltipValue = "";
         // email
         $this->_email->LinkCustomAttributes = "";
         $this->_email->HrefValue = "";
         $this->_email->TooltipValue = "";
         // joined
         $this->joined->LinkCustomAttributes = "";
         $this->joined->HrefValue = "";
         $this->joined->TooltipValue = "";
         // facebook
         $this->facebook->LinkCustomAttributes = "";
         if (!ew_Empty($this->facebook->CurrentValue)) {
             $this->facebook->HrefValue = !empty($this->facebook->ViewValue) ? ew_RemoveHtml($this->facebook->ViewValue) : $this->facebook->CurrentValue;
             // Add prefix/suffix
             $this->facebook->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
                 $this->facebook->HrefValue = ew_ConvertFullUrl($this->facebook->HrefValue);
             }
         } else {
             $this->facebook->HrefValue = "";
         }
         $this->facebook->TooltipValue = "";
         // twitter
         $this->twitter->LinkCustomAttributes = "";
         if (!ew_Empty($this->twitter->CurrentValue)) {
             $this->twitter->HrefValue = !empty($this->twitter->ViewValue) ? ew_RemoveHtml($this->twitter->ViewValue) : $this->twitter->CurrentValue;
             // Add prefix/suffix
             $this->twitter->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
                 $this->twitter->HrefValue = ew_ConvertFullUrl($this->twitter->HrefValue);
             }
         } else {
             $this->twitter->HrefValue = "";
         }
         $this->twitter->TooltipValue = "";
         // twitch
         $this->twitch->LinkCustomAttributes = "";
         if (!ew_Empty($this->twitch->CurrentValue)) {
             $this->twitch->HrefValue = !empty($this->twitch->ViewValue) ? ew_RemoveHtml($this->twitch->ViewValue) : $this->twitch->CurrentValue;
             // Add prefix/suffix
             $this->twitch->LinkAttrs["target"] = "_blank";
             // Add target
             if ($this->Export != "") {
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:67,代码来源:nos_membersedit.php

示例6: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // 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 = "";
         // 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 = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // mes
         $this->mes->EditAttrs["class"] = "form-control";
         $this->mes->EditCustomAttributes = "";
         $this->mes->EditValue = ew_HtmlEncode($this->mes->CurrentValue);
         $this->mes->PlaceHolder = ew_RemoveHtml($this->mes->FldCaption());
         // anio
         $this->anio->EditAttrs["class"] = "form-control";
         $this->anio->EditCustomAttributes = "";
         $this->anio->EditValue = ew_HtmlEncode($this->anio->CurrentValue);
         $this->anio->PlaceHolder = ew_RemoveHtml($this->anio->FldCaption());
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasadd.php

示例7: RenderRow

 function RenderRow()
 {
     global $conn, $Security, $Language;
     global $gsLanguage;
     // Initialize URLs
     // 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->ViewValue = ew_FormatCurrency($this->importe->ViewValue, 0, -2, -2, -2);
         $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 = "";
         // 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 = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // descripcion
         $this->descripcion->EditAttrs["class"] = "form-control";
         $this->descripcion->EditCustomAttributes = "";
         $this->descripcion->EditValue = ew_HtmlEncode($this->descripcion->CurrentValue);
         $this->descripcion->PlaceHolder = ew_RemoveHtml($this->descripcion->FldCaption());
         // importe
         $this->importe->EditAttrs["class"] = "form-control";
         $this->importe->EditCustomAttributes = "";
         $this->importe->EditValue = ew_HtmlEncode($this->importe->CurrentValue);
         $this->importe->PlaceHolder = ew_RemoveHtml($this->importe->FldCaption());
         if (strval($this->importe->EditValue) != "" && is_numeric($this->importe->EditValue)) {
             $this->importe->EditValue = ew_FormatNumber($this->importe->EditValue, -2, -2, -2, -2);
         }
         // fecha_creacion
         $this->fecha_creacion->EditAttrs["class"] = "form-control";
         $this->fecha_creacion->EditCustomAttributes = "";
         $this->fecha_creacion->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha_creacion->CurrentValue, 7));
         $this->fecha_creacion->PlaceHolder = ew_RemoveHtml($this->fecha_creacion->FldCaption());
         // activa
         $this->activa->EditCustomAttributes = "";
         $arwrk = array();
         $arwrk[] = array($this->activa->FldTagValue(1), $this->activa->FldTagCaption(1) != "" ? $this->activa->FldTagCaption(1) : $this->activa->FldTagValue(1));
         $arwrk[] = array($this->activa->FldTagValue(2), $this->activa->FldTagCaption(2) != "" ? $this->activa->FldTagCaption(2) : $this->activa->FldTagValue(2));
         $this->activa->EditValue = $arwrk;
         // Edit refer script
         // descripcion
         $this->descripcion->HrefValue = "";
         // importe
         $this->importe->HrefValue = "";
         // fecha_creacion
         $this->fecha_creacion->HrefValue = "";
         // activa
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_montosadd.php

示例8: RenderRow

 function RenderRow()
 {
     global $Security, $Language, $gsLanguage;
     // Initialize URLs
     // Call Row_Rendering event
     $this->Row_Rendering();
     // Common render codes for all row types
     // PASSANGER_ID
     // CODE
     // FIRSTNAME
     // SECONDNAME
     // LASTNAME
     // SURNAME
     // MAIL
     // PASSANGER_TYPE_ID
     // USER_ID
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // PASSANGER_ID
         $this->PASSANGER_ID->ViewValue = $this->PASSANGER_ID->CurrentValue;
         $this->PASSANGER_ID->ViewCustomAttributes = "";
         // CODE
         $this->CODE->ViewValue = $this->CODE->CurrentValue;
         $this->CODE->ViewCustomAttributes = "";
         // FIRSTNAME
         $this->FIRSTNAME->ViewValue = $this->FIRSTNAME->CurrentValue;
         $this->FIRSTNAME->ViewCustomAttributes = "";
         // SECONDNAME
         $this->SECONDNAME->ViewValue = $this->SECONDNAME->CurrentValue;
         $this->SECONDNAME->ViewCustomAttributes = "";
         // LASTNAME
         $this->LASTNAME->ViewValue = $this->LASTNAME->CurrentValue;
         $this->LASTNAME->ViewCustomAttributes = "";
         // SURNAME
         $this->SURNAME->ViewValue = $this->SURNAME->CurrentValue;
         $this->SURNAME->ViewCustomAttributes = "";
         // MAIL
         $this->MAIL->ViewValue = $this->MAIL->CurrentValue;
         $this->MAIL->ViewCustomAttributes = "";
         // PASSANGER_TYPE_ID
         $this->PASSANGER_TYPE_ID->ViewValue = $this->PASSANGER_TYPE_ID->CurrentValue;
         $this->PASSANGER_TYPE_ID->ViewCustomAttributes = "";
         // USER_ID
         $this->USER_ID->ViewValue = $this->USER_ID->CurrentValue;
         $this->USER_ID->ViewCustomAttributes = "";
         // PASSANGER_ID
         $this->PASSANGER_ID->LinkCustomAttributes = "";
         $this->PASSANGER_ID->HrefValue = "";
         $this->PASSANGER_ID->TooltipValue = "";
         // CODE
         $this->CODE->LinkCustomAttributes = "";
         $this->CODE->HrefValue = "";
         $this->CODE->TooltipValue = "";
         // FIRSTNAME
         $this->FIRSTNAME->LinkCustomAttributes = "";
         $this->FIRSTNAME->HrefValue = "";
         $this->FIRSTNAME->TooltipValue = "";
         // SECONDNAME
         $this->SECONDNAME->LinkCustomAttributes = "";
         $this->SECONDNAME->HrefValue = "";
         $this->SECONDNAME->TooltipValue = "";
         // LASTNAME
         $this->LASTNAME->LinkCustomAttributes = "";
         $this->LASTNAME->HrefValue = "";
         $this->LASTNAME->TooltipValue = "";
         // SURNAME
         $this->SURNAME->LinkCustomAttributes = "";
         $this->SURNAME->HrefValue = "";
         $this->SURNAME->TooltipValue = "";
         // MAIL
         $this->MAIL->LinkCustomAttributes = "";
         $this->MAIL->HrefValue = "";
         $this->MAIL->TooltipValue = "";
         // PASSANGER_TYPE_ID
         $this->PASSANGER_TYPE_ID->LinkCustomAttributes = "";
         $this->PASSANGER_TYPE_ID->HrefValue = "";
         $this->PASSANGER_TYPE_ID->TooltipValue = "";
         // USER_ID
         $this->USER_ID->LinkCustomAttributes = "";
         $this->USER_ID->HrefValue = "";
         $this->USER_ID->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // PASSANGER_ID
         $this->PASSANGER_ID->EditAttrs["class"] = "form-control";
         $this->PASSANGER_ID->EditCustomAttributes = "";
         $this->PASSANGER_ID->EditValue = $this->PASSANGER_ID->CurrentValue;
         $this->PASSANGER_ID->ViewCustomAttributes = "";
         // CODE
         $this->CODE->EditAttrs["class"] = "form-control";
         $this->CODE->EditCustomAttributes = "";
         $this->CODE->EditValue = ew_HtmlEncode($this->CODE->CurrentValue);
         $this->CODE->PlaceHolder = ew_RemoveHtml($this->CODE->FldCaption());
         // FIRSTNAME
         $this->FIRSTNAME->EditAttrs["class"] = "form-control";
         $this->FIRSTNAME->EditCustomAttributes = "";
         $this->FIRSTNAME->EditValue = ew_HtmlEncode($this->FIRSTNAME->CurrentValue);
         $this->FIRSTNAME->PlaceHolder = ew_RemoveHtml($this->FIRSTNAME->FldCaption());
         // SECONDNAME
         $this->SECONDNAME->EditAttrs["class"] = "form-control";
//.........这里部分代码省略.........
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:101,代码来源:passangeredit.php

示例9: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // id_socio
     $this->id_socio->EditAttrs["class"] = "form-control";
     $this->id_socio->EditCustomAttributes = "";
     if ($this->id_socio->getSessionValue() != "") {
         $this->id_socio->CurrentValue = $this->id_socio->getSessionValue();
         if (strval($this->id_socio->CurrentValue) != "") {
             $sFilterWrk = "`socio_nro`" . ew_SearchString("=", $this->id_socio->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `socio_nro`, `socio_nro` AS `DispFld`, `propietario` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `socios`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_socio, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $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 = "";
     } else {
     }
     // id_montos
     $this->id_montos->EditAttrs["class"] = "form-control";
     $this->id_montos->EditCustomAttributes = "";
     if ($this->id_montos->getSessionValue() != "") {
         $this->id_montos->CurrentValue = $this->id_montos->getSessionValue();
         if (strval($this->id_montos->CurrentValue) != "") {
             $sFilterWrk = "`id`" . ew_SearchString("=", $this->id_montos->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `id`, `descripcion` AS `DispFld`, `importe` AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `montos`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->id_montos, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->id_montos->ViewValue = $rswrk->fields('DispFld');
                 $this->id_montos->ViewValue .= ew_ValueSeparator(1, $this->id_montos) . ew_FormatCurrency($rswrk->fields('Disp2Fld'), 0, -2, -2, -2);
                 $rswrk->Close();
             } else {
                 $this->id_montos->ViewValue = $this->id_montos->CurrentValue;
             }
         } else {
             $this->id_montos->ViewValue = NULL;
         }
         $this->id_montos->ViewCustomAttributes = "";
     } else {
     }
     // id_usuario
     // fecha
     $this->fecha->EditAttrs["class"] = "form-control";
     $this->fecha->EditCustomAttributes = "";
     $this->fecha->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->fecha->CurrentValue, 7));
     $this->fecha->PlaceHolder = ew_RemoveHtml($this->fecha->FldCaption());
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:78,代码来源:cciag_socios_cuotasinfo.php

示例10: 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
     // id
     // url
     // tdate
     // account_id
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // id
         $this->id->ViewValue = $this->id->CurrentValue;
         $this->id->ViewCustomAttributes = "";
         // url
         $this->url->ViewValue = $this->url->CurrentValue;
         $this->url->ViewCustomAttributes = "";
         // account_id
         $this->account_id->ViewValue = $this->account_id->CurrentValue;
         $this->account_id->ViewCustomAttributes = "";
         // id
         $this->id->LinkCustomAttributes = "";
         $this->id->HrefValue = "";
         $this->id->TooltipValue = "";
         // url
         $this->url->LinkCustomAttributes = "";
         $this->url->HrefValue = "";
         $this->url->TooltipValue = "";
         // account_id
         $this->account_id->LinkCustomAttributes = "";
         $this->account_id->HrefValue = "";
         $this->account_id->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_EDIT) {
         // Edit row
         // id
         $this->id->EditAttrs["class"] = "form-control";
         $this->id->EditCustomAttributes = "";
         $this->id->EditValue = $this->id->CurrentValue;
         $this->id->ViewCustomAttributes = "";
         // url
         $this->url->EditAttrs["class"] = "form-control";
         $this->url->EditCustomAttributes = "";
         $this->url->EditValue = ew_HtmlEncode($this->url->CurrentValue);
         $this->url->PlaceHolder = ew_RemoveHtml($this->url->FldCaption());
         // account_id
         $this->account_id->EditAttrs["class"] = "form-control";
         $this->account_id->EditCustomAttributes = "";
         if (!$Security->IsAdmin() && $Security->IsLoggedIn() && !$this->UserIDAllow("edit")) {
             // Non system admin
             $this->account_id->CurrentValue = CurrentUserID();
             $this->account_id->EditValue = $this->account_id->CurrentValue;
             $this->account_id->ViewCustomAttributes = "";
         } else {
             $this->account_id->EditValue = ew_HtmlEncode($this->account_id->CurrentValue);
             $this->account_id->PlaceHolder = ew_RemoveHtml($this->account_id->FldCaption());
         }
         // Edit refer script
         // id
         $this->id->HrefValue = "";
         // url
         $this->url->HrefValue = "";
         // account_id
         $this->account_id->HrefValue = "";
     }
     if ($this->RowType == EW_ROWTYPE_ADD || $this->RowType == EW_ROWTYPE_EDIT || $this->RowType == EW_ROWTYPE_SEARCH) {
         // Add / Edit / Search row
         $this->SetupFieldTitles();
     }
     // Call Row Rendered event
     if ($this->RowType != EW_ROWTYPE_AGGREGATEINIT) {
         $this->Row_Rendered();
     }
 }
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:76,代码来源:profile_picedit.php

示例11: 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
     // ID
     // Password
     // Email
     // Created
     // Type
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // ID
         $this->ID->ViewValue = $this->ID->CurrentValue;
         $this->ID->ViewCustomAttributes = "";
         // Password
         $this->Password->ViewValue = $this->Password->CurrentValue;
         $this->Password->ViewCustomAttributes = "";
         // Email
         $this->_Email->ViewValue = $this->_Email->CurrentValue;
         $this->_Email->ViewCustomAttributes = "";
         // Created
         $this->Created->ViewValue = $this->Created->CurrentValue;
         $this->Created->ViewValue = ew_FormatDateTime($this->Created->ViewValue, 5);
         $this->Created->ViewCustomAttributes = "";
         // Type
         if (strval($this->Type->CurrentValue) != "") {
             $sFilterWrk = "`UserTypeID`" . ew_SearchString("=", $this->Type->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `UserTypeID`, `Name` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `UserTypes`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->Type, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->Type->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->Type->ViewValue = $this->Type->CurrentValue;
             }
         } else {
             $this->Type->ViewValue = NULL;
         }
         $this->Type->ViewCustomAttributes = "";
         // Password
         $this->Password->LinkCustomAttributes = "";
         $this->Password->HrefValue = "";
         $this->Password->TooltipValue = "";
         // Email
         $this->_Email->LinkCustomAttributes = "";
         $this->_Email->HrefValue = "";
         $this->_Email->TooltipValue = "";
         // Created
         $this->Created->LinkCustomAttributes = "";
         $this->Created->HrefValue = "";
         $this->Created->TooltipValue = "";
         // Type
         $this->Type->LinkCustomAttributes = "";
         $this->Type->HrefValue = "";
         $this->Type->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // Password
         $this->Password->EditCustomAttributes = "";
         $this->Password->EditValue = ew_HtmlEncode($this->Password->CurrentValue);
         $this->Password->PlaceHolder = ew_RemoveHtml($this->Password->FldCaption());
         // Email
         $this->_Email->EditCustomAttributes = "";
         $this->_Email->EditValue = ew_HtmlEncode($this->_Email->CurrentValue);
         $this->_Email->PlaceHolder = ew_RemoveHtml($this->_Email->FldCaption());
         // Created
         $this->Created->EditCustomAttributes = "";
         $this->Created->EditValue = ew_HtmlEncode(ew_FormatDateTime($this->Created->CurrentValue, 5));
         $this->Created->PlaceHolder = ew_RemoveHtml($this->Created->FldCaption());
         // Type
         $this->Type->EditCustomAttributes = "";
         $sFilterWrk = "";
         $sSqlWrk = "SELECT `UserTypeID`, `Name` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld`, '' AS `SelectFilterFld`, '' AS `SelectFilterFld2`, '' AS `SelectFilterFld3`, '' AS `SelectFilterFld4` FROM `UserTypes`";
         $sWhereWrk = "";
         if ($sFilterWrk != "") {
             ew_AddFilter($sWhereWrk, $sFilterWrk);
         }
         // Call Lookup selecting
         $this->Lookup_Selecting($this->Type, $sWhereWrk);
         if ($sWhereWrk != "") {
             $sSqlWrk .= " WHERE " . $sWhereWrk;
         }
         $rswrk = $conn->Execute($sSqlWrk);
         $arwrk = $rswrk ? $rswrk->GetRows() : array();
         if ($rswrk) {
             $rswrk->Close();
//.........这里部分代码省略.........
开发者ID:evinw,项目名称:project_yess,代码行数:101,代码来源:Usersadd.php

示例12: RenderRow


//.........这里部分代码省略.........
             $this->estado->ViewValue = NULL;
         }
         $this->estado->ViewCustomAttributes = "";
         // nombre
         $this->nombre->LinkCustomAttributes = "";
         $this->nombre->HrefValue = "";
         $this->nombre->TooltipValue = "";
         // nombre oficial
         $this->nombre_oficial->LinkCustomAttributes = "";
         $this->nombre_oficial->HrefValue = "";
         $this->nombre_oficial->TooltipValue = "";
         // gentilicio
         $this->gentilicio->LinkCustomAttributes = "";
         $this->gentilicio->HrefValue = "";
         $this->gentilicio->TooltipValue = "";
         // flag
         $this->flag->LinkCustomAttributes = "";
         $this->flag->HrefValue = "";
         $this->flag->TooltipValue = "";
         // idcontinente
         $this->idcontinente->LinkCustomAttributes = "";
         $this->idcontinente->HrefValue = "";
         $this->idcontinente->TooltipValue = "";
         // estado
         $this->estado->LinkCustomAttributes = "";
         $this->estado->HrefValue = "";
         $this->estado->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());
         // nombre oficial
         $this->nombre_oficial->EditAttrs["class"] = "form-control";
         $this->nombre_oficial->EditCustomAttributes = "";
         $this->nombre_oficial->EditValue = ew_HtmlEncode($this->nombre_oficial->CurrentValue);
         $this->nombre_oficial->PlaceHolder = ew_RemoveHtml($this->nombre_oficial->FldCaption());
         // gentilicio
         $this->gentilicio->EditAttrs["class"] = "form-control";
         $this->gentilicio->EditCustomAttributes = "";
         $this->gentilicio->EditValue = ew_HtmlEncode($this->gentilicio->CurrentValue);
         $this->gentilicio->PlaceHolder = ew_RemoveHtml($this->gentilicio->FldCaption());
         // flag
         $this->flag->EditAttrs["class"] = "form-control";
         $this->flag->EditCustomAttributes = "";
         $this->flag->EditValue = ew_HtmlEncode($this->flag->CurrentValue);
         $this->flag->PlaceHolder = ew_RemoveHtml($this->flag->FldCaption());
         // idcontinente
         $this->idcontinente->EditAttrs["class"] = "form-control";
         $this->idcontinente->EditCustomAttributes = "";
         if ($this->idcontinente->getSessionValue() != "") {
             $this->idcontinente->CurrentValue = $this->idcontinente->getSessionValue();
             $this->idcontinente->OldValue = $this->idcontinente->CurrentValue;
             if (strval($this->idcontinente->CurrentValue) != "") {
                 $sFilterWrk = "`idcontinente`" . ew_SearchString("=", $this->idcontinente->CurrentValue, EW_DATATYPE_NUMBER);
                 $sSqlWrk = "SELECT `idcontinente`, `nombre` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `continente`";
                 $sWhereWrk = "";
                 if ($sFilterWrk != "") {
                     ew_AddFilter($sWhereWrk, $sFilterWrk);
                 }
                 // Call Lookup selecting
                 $this->Lookup_Selecting($this->idcontinente, $sWhereWrk);
                 if ($sWhereWrk != "") {
                     $sSqlWrk .= " WHERE " . $sWhereWrk;
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:67,代码来源:paisgridcls.php

示例13: RenderRow


//.........这里部分代码省略.........
         $this->customer_name->LinkCustomAttributes = "";
         $this->customer_name->HrefValue = "";
         $this->customer_name->TooltipValue = "";
         // customer_cell
         $this->customer_cell->LinkCustomAttributes = "";
         $this->customer_cell->HrefValue = "";
         $this->customer_cell->TooltipValue = "";
         // date
         $this->date->LinkCustomAttributes = "";
         $this->date->HrefValue = "";
         $this->date->TooltipValue = "";
         // month
         $this->month->LinkCustomAttributes = "";
         $this->month->HrefValue = "";
         $this->month->TooltipValue = "";
         // category
         $this->category->LinkCustomAttributes = "";
         $this->category->HrefValue = "";
         $this->category->TooltipValue = "";
         // amount
         $this->amount->LinkCustomAttributes = "";
         $this->amount->HrefValue = "";
         $this->amount->TooltipValue = "";
         // Details
         $this->Details->LinkCustomAttributes = "";
         $this->Details->HrefValue = "";
         $this->Details->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_ADD) {
         // Add row
         // m_id
         $this->m_id->EditAttrs["class"] = "form-control";
         $this->m_id->EditCustomAttributes = "";
         $this->m_id->EditValue = ew_HtmlEncode($this->m_id->CurrentValue);
         $this->m_id->PlaceHolder = ew_RemoveHtml($this->m_id->FldCaption());
         // package_id
         $this->package_id->EditCustomAttributes = "";
         if (trim(strval($this->package_id->CurrentValue)) == "") {
             $sFilterWrk = "0=1";
         } else {
             $sFilterWrk = "`package_id`" . ew_SearchString("=", $this->package_id->CurrentValue, EW_DATATYPE_NUMBER, "");
         }
         $sSqlWrk = "SELECT `package_id`, `package_name` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld`, `package_id` AS `SelectFilterFld`, '' AS `SelectFilterFld2`, '' AS `SelectFilterFld3`, '' AS `SelectFilterFld4` FROM `package`";
         $sWhereWrk = "";
         ew_AddFilter($sWhereWrk, $sFilterWrk);
         $this->Lookup_Selecting($this->package_id, $sWhereWrk);
         // Call Lookup selecting
         if ($sWhereWrk != "") {
             $sSqlWrk .= " WHERE " . $sWhereWrk;
         }
         $rswrk = Conn()->Execute($sSqlWrk);
         if ($rswrk && !$rswrk->EOF) {
             // Lookup values found
             $arwrk = array();
             $arwrk[1] = ew_HtmlEncode($rswrk->fields('DispFld'));
             $this->package_id->ViewValue = $this->package_id->DisplayValue($arwrk);
         } else {
             $this->package_id->ViewValue = $Language->Phrase("PleaseSelect");
         }
         $arwrk = $rswrk ? $rswrk->GetRows() : array();
         if ($rswrk) {
             $rswrk->Close();
         }
         array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"), "", "", "", "", "", "", ""));
         $this->package_id->EditValue = $arwrk;
         // customer_name
         $this->customer_name->EditAttrs["class"] = "form-control";
开发者ID:ahmarmahmood,项目名称:tabedaar,代码行数:67,代码来源:deliveryadd.php

示例14: RenderEditRow

 function RenderEditRow()
 {
     global $conn, $Security, $gsLanguage, $Language;
     // Call Row Rendering event
     $this->Row_Rendering();
     // 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
     $this->Descripcion->EditAttrs["class"] = "form-control";
     $this->Descripcion->EditCustomAttributes = "";
     $this->Descripcion->EditValue = ew_HtmlEncode($this->Descripcion->CurrentValue);
     $this->Descripcion->PlaceHolder = ew_RemoveHtml($this->Descripcion->FldCaption());
     // fecha
     // id_usuario
     // archivo
     $this->archivo->EditAttrs["class"] = "form-control";
     $this->archivo->EditCustomAttributes = "";
     if (!ew_Empty($this->archivo->Upload->DbValue)) {
         $this->archivo->EditValue = $this->archivo->Upload->DbValue;
     } else {
         $this->archivo->EditValue = "";
     }
     if (!ew_Empty($this->archivo->CurrentValue)) {
         $this->archivo->Upload->FileName = $this->archivo->CurrentValue;
     }
     // estado
     $this->estado->EditCustomAttributes = "";
     $arwrk = array();
     $arwrk[] = array($this->estado->FldTagValue(1), $this->estado->FldTagCaption(1) != "" ? $this->estado->FldTagCaption(1) : $this->estado->FldTagValue(1));
     $arwrk[] = array($this->estado->FldTagValue(2), $this->estado->FldTagCaption(2) != "" ? $this->estado->FldTagCaption(2) : $this->estado->FldTagValue(2));
     $arwrk[] = array($this->estado->FldTagValue(3), $this->estado->FldTagCaption(3) != "" ? $this->estado->FldTagCaption(3) : $this->estado->FldTagValue(3));
     $this->estado->EditValue = $arwrk;
     // Call Row Rendered event
     $this->Row_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:43,代码来源:cciag_tramitesinfo.php

示例15: 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
     // idmedicina
     // descripcion
     // estado
     // idlaboratorio
     // idhospital
     if ($this->RowType == EW_ROWTYPE_VIEW) {
         // View row
         // idmedicina
         $this->idmedicina->ViewValue = $this->idmedicina->CurrentValue;
         $this->idmedicina->ViewCustomAttributes = "";
         // descripcion
         $this->descripcion->ViewValue = $this->descripcion->CurrentValue;
         $this->descripcion->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 = "";
         // idlaboratorio
         if (strval($this->idlaboratorio->CurrentValue) != "") {
             $sFilterWrk = "`idlaboratorio`" . ew_SearchString("=", $this->idlaboratorio->CurrentValue, EW_DATATYPE_NUMBER);
             $sSqlWrk = "SELECT `idlaboratorio`, `descripcion` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `laboratorio`";
             $sWhereWrk = "";
             if ($sFilterWrk != "") {
                 ew_AddFilter($sWhereWrk, $sFilterWrk);
             }
             // Call Lookup selecting
             $this->Lookup_Selecting($this->idlaboratorio, $sWhereWrk);
             if ($sWhereWrk != "") {
                 $sSqlWrk .= " WHERE " . $sWhereWrk;
             }
             $rswrk = $conn->Execute($sSqlWrk);
             if ($rswrk && !$rswrk->EOF) {
                 // Lookup values found
                 $this->idlaboratorio->ViewValue = $rswrk->fields('DispFld');
                 $rswrk->Close();
             } else {
                 $this->idlaboratorio->ViewValue = $this->idlaboratorio->CurrentValue;
             }
         } else {
             $this->idlaboratorio->ViewValue = NULL;
         }
         $this->idlaboratorio->ViewCustomAttributes = "";
         // idhospital
         $this->idhospital->ViewValue = $this->idhospital->CurrentValue;
         $this->idhospital->ViewCustomAttributes = "";
         // idmedicina
         $this->idmedicina->LinkCustomAttributes = "";
         $this->idmedicina->HrefValue = "";
         $this->idmedicina->TooltipValue = "";
         // descripcion
         $this->descripcion->LinkCustomAttributes = "";
         $this->descripcion->HrefValue = "";
         $this->descripcion->TooltipValue = "";
         // estado
         $this->estado->LinkCustomAttributes = "";
         $this->estado->HrefValue = "";
         $this->estado->TooltipValue = "";
         // idlaboratorio
         $this->idlaboratorio->LinkCustomAttributes = "";
         $this->idlaboratorio->HrefValue = "";
         $this->idlaboratorio->TooltipValue = "";
         // idhospital
         $this->idhospital->LinkCustomAttributes = "";
         $this->idhospital->HrefValue = "";
         $this->idhospital->TooltipValue = "";
     } elseif ($this->RowType == EW_ROWTYPE_SEARCH) {
         // Search row
         // idmedicina
         $this->idmedicina->EditAttrs["class"] = "form-control";
         $this->idmedicina->EditCustomAttributes = "";
         $this->idmedicina->EditValue = ew_HtmlEncode($this->idmedicina->AdvancedSearch->SearchValue);
         $this->idmedicina->PlaceHolder = ew_RemoveHtml($this->idmedicina->FldCaption());
         // descripcion
         $this->descripcion->EditAttrs["class"] = "form-control";
//.........这里部分代码省略.........
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:101,代码来源:medicinalist.php


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