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


PHP ew_ConvertFromUtf8函数代码示例

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


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

示例1: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->marca->FldIsDetailKey) {
         $this->marca->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_marca")));
     }
     if (!$this->modelo->FldIsDetailKey) {
         $this->modelo->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_modelo")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:11,代码来源:marcasaddopt.php

示例2: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->nombre->FldIsDetailKey) {
         $this->nombre->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nombre")));
     }
     if (!$this->direccion->FldIsDetailKey) {
         $this->direccion->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_direccion")));
     }
     if (!$this->fecha_nacimiento->FldIsDetailKey) {
         $this->fecha_nacimiento->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_fecha_nacimiento")));
         $this->fecha_nacimiento->CurrentValue = ew_UnFormatDateTime($this->fecha_nacimiento->CurrentValue, 7);
     }
     if (!$this->tel->FldIsDetailKey) {
         $this->tel->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_tel")));
     }
     if (!$this->cel->FldIsDetailKey) {
         $this->cel->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cel")));
     }
     if (!$this->_email->FldIsDetailKey) {
         $this->_email->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x__email")));
     }
     if (!$this->fecha_inicio->FldIsDetailKey) {
         $this->fecha_inicio->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_fecha_inicio")));
         $this->fecha_inicio->CurrentValue = ew_UnFormatDateTime($this->fecha_inicio->CurrentValue, 7);
     }
     if (!$this->cetegoria->FldIsDetailKey) {
         $this->cetegoria->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cetegoria")));
     }
     if (!$this->datos->FldIsDetailKey) {
         $this->datos->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_datos")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:34,代码来源:choferesaddopt.php

示例3: ew_JsEncode

function ew_JsEncode($val)
{
    $val = strval($val);
    if (EW_IS_DOUBLE_BYTE) {
        $val = ew_ConvertToUtf8($val);
    }
    $val = str_replace("\\", "\\\\", $val);
    $val = str_replace("'", "\\'", $val);
    $val = str_replace("\r\n", "<br>", $val);
    $val = str_replace("\r", "<br>", $val);
    $val = str_replace("\n", "<br>", $val);
    if (EW_IS_DOUBLE_BYTE) {
        $val = ew_ConvertFromUtf8($val);
    }
    return $val;
}
开发者ID:NaurozAhmad,项目名称:Senho,代码行数:16,代码来源:phpfn12.php

示例4: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->taller->FldIsDetailKey) {
         $this->taller->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_taller")));
     }
     if (!$this->direccion->FldIsDetailKey) {
         $this->direccion->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_direccion")));
     }
     if (!$this->tel->FldIsDetailKey) {
         $this->tel->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_tel")));
     }
     if (!$this->cel->FldIsDetailKey) {
         $this->cel->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cel")));
     }
     if (!$this->mail->FldIsDetailKey) {
         $this->mail->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_mail")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:20,代码来源:talleresaddopt.php

示例5: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm, $Menus;
     $Menus->MenuName->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_MenuName")));
     $Menus->Sequence->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Sequence")));
     $Menus->Active->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Active")));
     $Menus->packing_slip_sequence->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_packing_slip_sequence")));
     $Menus->MenuID->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_MenuID")));
 }
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:10,代码来源:Menusaddopt.php

示例6: GetAttribute

 function GetAttribute($element, $name)
 {
     return $element ? ew_ConvertFromUtf8($element->getAttribute($name)) : "";
 }
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:4,代码来源:ewshared12.php

示例7: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->id_rubro->FldIsDetailKey) {
         $this->id_rubro->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_rubro")));
     }
     if (!$this->actividad->FldIsDetailKey) {
         $this->actividad->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_actividad")));
     }
     if (!$this->descripcion->FldIsDetailKey) {
         $this->descripcion->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_descripcion")));
     }
     if (!$this->activa->FldIsDetailKey) {
         $this->activa->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_activa")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:17,代码来源:cciag_actividadaddopt.php

示例8: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->rubro->FldIsDetailKey) {
         $this->rubro->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_rubro")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:8,代码来源:rubrosaddopt.php

示例9: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm, $t_categories_vins;
     if (!$t_categories_vins->nom->FldIsDetailKey) {
         $t_categories_vins->nom->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nom")));
     }
     if (!$t_categories_vins->nom_en->FldIsDetailKey) {
         $t_categories_vins->nom_en->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nom_en")));
     }
     $t_categories_vins->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
 }
开发者ID:Razinsky,项目名称:echaude-com,代码行数:12,代码来源:t_categories_vinsaddopt.php

示例10: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm, $v_all_vins;
     if (!$v_all_vins->label->FldIsDetailKey) {
         $v_all_vins->label->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_label")));
     }
     $v_all_vins->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
 }
开发者ID:Razinsky,项目名称:echaude-com,代码行数:9,代码来源:v_all_vinsaddopt.php

示例11: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     $this->GetUploadFiles();
     // Get upload files
     if (!$this->Titulo->FldIsDetailKey) {
         $this->Titulo->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Titulo")));
     }
     if (!$this->Descripcion->FldIsDetailKey) {
         $this->Descripcion->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Descripcion")));
     }
     if (!$this->fecha->FldIsDetailKey) {
         $this->fecha->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_fecha")));
         $this->fecha->CurrentValue = ew_UnFormatDateTime($this->fecha->CurrentValue, 7);
     }
     if (!$this->id_usuario->FldIsDetailKey) {
         $this->id_usuario->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_usuario")));
     }
     if (!$this->estado->FldIsDetailKey) {
         $this->estado->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_estado")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:23,代码来源:cciag_tramitesaddopt.php

示例12: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm, $t_fournisseurs;
     if (!$t_fournisseurs->id->FldIsDetailKey) {
         $t_fournisseurs->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
     }
     if (!$t_fournisseurs->compagnie->FldIsDetailKey) {
         $t_fournisseurs->compagnie->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_compagnie")));
     }
     if (!$t_fournisseurs->nom_representant->FldIsDetailKey) {
         $t_fournisseurs->nom_representant->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nom_representant")));
     }
     if (!$t_fournisseurs->courriel_representant->FldIsDetailKey) {
         $t_fournisseurs->courriel_representant->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_courriel_representant")));
     }
     if (!$t_fournisseurs->telephone->FldIsDetailKey) {
         $t_fournisseurs->telephone->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_telephone")));
     }
 }
开发者ID:Razinsky,项目名称:echaude-com,代码行数:20,代码来源:t_fournisseursaddopt.php

示例13: GetAttribute

 function GetAttribute($element, $name)
 {
     if (EW_IS_PHP5) {
         return $element ? ew_ConvertFromUtf8($element->getAttribute($name)) : "";
     } else {
         return $element ? ew_ConvertFromUtf8($element->get_attribute($name)) : "";
     }
 }
开发者ID:priscillatellezcl,项目名称:inet-computing,代码行数:8,代码来源:ewshared7.php

示例14: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->Tipo_carga->FldIsDetailKey) {
         $this->Tipo_carga->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Tipo_carga")));
     }
     if (!$this->precio_base->FldIsDetailKey) {
         $this->precio_base->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_precio_base")));
     }
     if (!$this->porcentaje_comision->FldIsDetailKey) {
         $this->porcentaje_comision->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_porcentaje_comision")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:14,代码来源:tipo_cargasaddopt.php

示例15: LoadFormValues

 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->estado->FldIsDetailKey) {
         $this->estado->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_estado")));
     }
     if (!$this->activo->FldIsDetailKey) {
         $this->activo->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_activo")));
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:11,代码来源:estadosaddopt.php


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