本文整理汇总了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")));
}
}
示例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")));
}
}
示例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;
}
示例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")));
}
}
示例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")));
}
示例6: GetAttribute
function GetAttribute($element, $name)
{
return $element ? ew_ConvertFromUtf8($element->getAttribute($name)) : "";
}
示例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")));
}
}
示例8: LoadFormValues
function LoadFormValues()
{
// Load from form
global $objForm;
if (!$this->rubro->FldIsDetailKey) {
$this->rubro->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_rubro")));
}
}
示例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")));
}
示例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")));
}
示例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")));
}
}
示例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")));
}
}
示例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)) : "";
}
}
示例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")));
}
}
示例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")));
}
}