示例#1
0
 public function __construct($user_data = array())
 {
     parent::__construct();
     if (count($user_data) > 1) {
         foreach ($user_data as $campo => $valor) {
             $this->{$campo} = $valor;
         }
     } else {
         $this->Nombre = "";
         $this->Nit = "";
         $this->Direccion = "";
         $this->Telefono = "";
         $this->ResolucionDian = "";
     }
 }
示例#2
0
 function __construct($datos = array())
 {
     parent::__construct();
     if (count($datos) > 1) {
         foreach ($datos as $columna => $dato) {
             $this->{$columna} = $dato;
         }
     } else {
         $Numero = "";
         $Piso = "";
         $TipoHabitacion = "";
         $ValorNoche = "";
         $Estado = "";
         $Hotel = "";
     }
 }
 public function __construct($user_data = array())
 {
     parent::__construct();
     if (count($user_data) > 1) {
         foreach ($user_data as $campo => $valor) {
             $this->{$campo} = $valor;
         }
     } else {
         $this->tipo_identificacion = "";
         $this->identificacion = "";
         $this->nombres = "";
         $this->apellidos = "";
         $this->telefono = "";
         $this->direccion = "";
         $this->fecha_nacimiento = "";
         $this->saldo = "";
         $this->user_login = "";
         $this->pass_login = "";
         $this->estado = "";
     }
 }
 public function __construct($user_data = array())
 {
     parent::__construct();
     if (count($user_data) > 1) {
         foreach ($user_data as $campo => $valor) {
             $this->{$campo} = $valor;
         }
     } else {
         $this->Nombres = "";
         $this->Apellidos = "";
         $this->Telefono = "";
         $this->User = "";
         $this->Password = "";
         $this->Tipo = "";
         $this->Estado = "";
     }
 }
示例#5
0
 public function __construct($user_data = array())
 {
     parent::__construct();
     if (count($user_data) > 1) {
         foreach ($user_data as $campo => $valor) {
             $this->{$campo} = $valor;
         }
     } else {
         $this->TipoUsuario = "";
         $this->TipoDocumento = "";
         $this->Documento = "";
         $this->Nombres = "";
         $this->Apellidos = "";
         $this->FechaNacimiento = "";
         $this->Telefono = "";
         $this->Direccion = "";
         $this->Estado = "";
         $this->User = "";
         $this->Pass = "";
     }
 }
示例#6
0
 public function __construct($reserva = array())
 {
     parent::__construct();
     if (count($reserva) > 1) {
         foreach ($reserva as $dato => $valor) {
             $this->{$dato} = $valor;
         }
     } else {
         $this->Usuario = "";
         $this->Habitacion = "";
         $this->Duracion = "";
         $this->TipoReserva = "";
         $this->FechaEntrada = "";
         $this->FechaSalida = "";
         $this->Estado = "";
     }
 }