Example #1
0
 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")));
     }
 }
Example #2
0
 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")));
     }
 }
Example #3
0
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;
}
Example #4
0
 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")));
     }
 }
Example #5
0
 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")));
 }
Example #6
0
 function GetAttribute($element, $name)
 {
     return $element ? ew_ConvertFromUtf8($element->getAttribute($name)) : "";
 }
 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")));
     }
 }
Example #8
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->rubro->FldIsDetailKey) {
         $this->rubro->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_rubro")));
     }
 }
 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")));
 }
Example #10
0
 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")));
 }
Example #11
0
 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")));
     }
 }
 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")));
     }
 }
 function GetAttribute($element, $name)
 {
     if (EW_IS_PHP5) {
         return $element ? ew_ConvertFromUtf8($element->getAttribute($name)) : "";
     } else {
         return $element ? ew_ConvertFromUtf8($element->get_attribute($name)) : "";
     }
 }
Example #14
0
 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")));
     }
 }
Example #15
0
 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")));
     }
 }
Example #16
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm, $t_vins;
     if (!$t_vins->nom->FldIsDetailKey) {
         $t_vins->nom->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nom")));
     }
     if (!$t_vins->producteur->FldIsDetailKey) {
         $t_vins->producteur->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_producteur")));
     }
     if (!$t_vins->appelation->FldIsDetailKey) {
         $t_vins->appelation->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_appelation")));
     }
     if (!$t_vins->cepage->FldIsDetailKey) {
         $t_vins->cepage->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cepage")));
     }
     if (!$t_vins->cuvee->FldIsDetailKey) {
         $t_vins->cuvee->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cuvee")));
     }
     if (!$t_vins->categorie->FldIsDetailKey) {
         $t_vins->categorie->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_categorie")));
     }
     if (!$t_vins->region_du_monde->FldIsDetailKey) {
         $t_vins->region_du_monde->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_region_du_monde")));
     }
     if (!$t_vins->pays->FldIsDetailKey) {
         $t_vins->pays->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_pays")));
     }
     if (!$t_vins->region->FldIsDetailKey) {
         $t_vins->region->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_regions")));
     }
     if (!$t_vins->sous_region->FldIsDetailKey) {
         $t_vins->sous_region->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_sous_region")));
     }
     $t_vins->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
 }
Example #17
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm, $t_stockage;
     if (!$t_stockage->id->FldIsDetailKey) {
         $t_stockage->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
     }
     if (!$t_stockage->emplacement->FldIsDetailKey) {
         $t_stockage->emplacement->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_emplacement")));
     }
 }
Example #18
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->tipo_gasto->FldIsDetailKey) {
         $this->tipo_gasto->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_tipo_gasto")));
     }
     if (!$this->clase->FldIsDetailKey) {
         $this->clase->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_clase")));
     }
 }
 function LoadFormValues()
 {
     // Load from form
     global $objForm, $t_sous_regions;
     if (!$t_sous_regions->nom->FldIsDetailKey) {
         $t_sous_regions->nom->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nom")));
     }
     if (!$t_sous_regions->regions->FldIsDetailKey) {
         $t_sous_regions->regions->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_regions")));
     }
     $t_sous_regions->id->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id")));
 }
 function LoadFormValues()
 {
     // Load from form
     global $objForm, $Ingredients;
     $Ingredients->IngredientName->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_IngredientName")));
     $Ingredients->allergen->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_allergen")));
     $Ingredients->IngredientID->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_IngredientID")));
 }
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->vl_media_type_name->FldIsDetailKey) {
         $this->vl_media_type_name->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_vl_media_type_name")));
     }
 }
Example #22
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->localidad->FldIsDetailKey) {
         $this->localidad->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_localidad")));
     }
     if (!$this->cp->FldIsDetailKey) {
         $this->cp->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cp")));
     }
     if (!$this->id_provincia->FldIsDetailKey) {
         $this->id_provincia->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_provincia")));
     }
 }
Example #23
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->cuit_cuil->FldIsDetailKey) {
         $this->cuit_cuil->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cuit_cuil")));
     }
     if (!$this->razon_social->FldIsDetailKey) {
         $this->razon_social->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_razon_social")));
     }
     if (!$this->responsable->FldIsDetailKey) {
         $this->responsable->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_responsable")));
     }
     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->direccion->FldIsDetailKey) {
         $this->direccion->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_direccion")));
     }
     if (!$this->id_localidad->FldIsDetailKey) {
         $this->id_localidad->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_localidad")));
     }
 }
Example #24
0
 function getConvertedValue($name)
 {
     return ew_ConvertFromUtf8($this->getRawUrlDecodedValue($name));
 }
Example #25
0
 function LoadFormValues()
 {
     // Load from form
     global $objForm;
     if (!$this->Patente->FldIsDetailKey) {
         $this->Patente->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_Patente")));
     }
     if (!$this->cantidad_rueda->FldIsDetailKey) {
         $this->cantidad_rueda->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_cantidad_rueda")));
     }
     if (!$this->nombre->FldIsDetailKey) {
         $this->nombre->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_nombre")));
     }
     if (!$this->modelo->FldIsDetailKey) {
         $this->modelo->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_modelo")));
     }
     if (!$this->id_chofer->FldIsDetailKey) {
         $this->id_chofer->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_chofer")));
     }
     if (!$this->id_guarda->FldIsDetailKey) {
         $this->id_guarda->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_guarda")));
     }
     if (!$this->id_marca->FldIsDetailKey) {
         $this->id_marca->setFormValue(ew_ConvertFromUtf8($objForm->GetValue("x_id_marca")));
     }
 }