public function inicializar()
 {
     $aux = FALSE;
     $usuario = new Usuario_model();
     if ($usuario->inicializar('empleado')) {
         $this->Email = strtolower($this->input->post('email'));
         if ($this->input->post('cargo') != '') {
             $this->Cargo = ucwords(strtolower($this->input->post('cargo')));
         }
         if ($this->input->post('salario') != '') {
             $this->Salario = $this->input->post('salario');
         } else {
             $this->Salario = NULL;
         }
         if ($this->input->post('fAlta')) {
             $this->FechaContratacion = date('Y-m-d', strtotime($this->input->post('fAlta')));
         } else {
             $this->FechaContratacion = NULL;
         }
         if ($this->input->post('fBaja')) {
             $this->FechaFinContrato = date('Y-m-d', strtotime($this->input->post('fBaja')));
         } else {
             $this->FechaFinContrato = NULL;
         }
         $this->db->set('Email', $this->Email);
         $this->db->set('Cargo', $this->Cargo);
         $this->db->set('Salario', $this->Salario);
         $this->db->set('FechaContratacion', $this->FechaContratacion);
         $this->db->set('FechaFinContrato', $this->FechaFinContrato);
         if ($this->db->insert('Empleado')) {
             $aux = TRUE;
         }
     }
     return $aux;
 }