* @author Keka: * @author Vero: * @author Raquel: * @author Toni: * @package igep */ class IgepComponentesMap extends MappingManager { /** * constructor function * @return void */ function IgepComponentesMap () { $this->_SetOptions(); $this->_AddForm('IgepForm', 'IgepForm'); /*camposDependientes*/ $this->_AddMapping('camposDependientes', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('camposDependientes', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_actualizar.php&panel=listar'); /*ventanaSeleccion*/ $this->_AddMapping('abrirVentanaSeleccion', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('abrirVentanaSeleccion', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php'); $this->_AddMapping('buscarVentanaSeleccion', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('buscarVentanaSeleccion', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php'); $this->_AddMapping('ordenarTabla', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('ordenarTabla', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ordenarTabla.php'); $this->_AddMapping('IgepSaltoVentana', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('IgepSaltoVentana', 'IgepSaltoVentana', 'phrame.php'); $this->_AddMapping('IgepRegresoVentana', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('IgepRegresoVentana', 'IgepSaltoVentana', 'phrame.php'); $this->_AddMapping('focusChanged', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('focusChanged', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_actualizar.php&panel=listar'); $this->_AddMapping('cambiarPanelDetalle', 'IgepAccionesGenericas', '', 'IgepForm', 0); $this->_AddForward('cambiarPanelDetalle', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ordenarTabla.php'); //REFACTORING: Todo es lo mismo y necesitamos quitarlo cuando acabemos el refactoring /*IgepMensajeConfirmacion*/ $this->_AddMapping('IgepMensajeConfirmacion', 'IgepNegocio', '', 'IgepForm', 0); $this->_AddForward('IgepMensajeConfirmacion', 'correcto', 'index.php?view=igep/views/igep_actualizar.php'); //FIN REFACTORING /* Peticiones de IGEP*/ $this->_AddMapping('IgepPeticiones__iniciarVentana', 'IgepPeticiones', '', 'IgepForm', 0); $this->_AddForward('IgepPeticiones__iniciarVentana', 'correcto', 'index.php?view=igep/views/igep_peticiones.php'); $this->_AddMapping('IgepPeticiones__buscar', 'IgepPeticiones', '', 'IgepForm', 0); $this->_AddForward('IgepPeticiones__buscar', 'correcto', 'index.php?view=igep/views/igep_peticiones.php&panel=listar'); $this->_AddMapping('IgepPeticiones__cancelarTodo', 'IgepPeticiones', '', 'IgepForm', 0); $this->_AddForward('IgepPeticiones__cancelarTodo', 'correcto', 'index.php?view=igep/views/igep_peticiones.php'); /*Novedades de la Versión*/ $this->_AddMapping('IgepNovedades__iniciarVentana', 'IgepNovedades', '', 'IgepForm', 0); $this->_AddForward('IgepNovedades__iniciarVentana', 'correcto', 'index.php?view=igep/views/igep_novedadesVersion.php'); $this->_AddMapping('IgepNovedades__buscar', 'IgepNovedades', '', 'IgepForm', 0); $this->_AddForward('IgepNovedades__buscar', 'correcto', 'index.php?view=igep/views/igep_novedadesVersion.php&panel=listar'); $this->_AddMapping('IgepNovedades__cancelarTodo', 'IgepNovedades', '', 'IgepForm', 0); $this->_AddForward('IgepNovedades__cancelarTodo', 'correcto', 'index.php?view=igep/views/igep_novedadesVersion.php'); $this->_AddMapping('IgepNovedades__editar', 'IgepNovedades', '', 'IgepForm', 0); $this->_AddForward('IgepNovedades__editar', 'correcto', 'index.php?view=igep/views/igep_novedadesVersion.php&panel=editar'); $this->_AddMapping('IgepNovedades__cancelarEdicion', 'IgepNovedades', '', 'IgepForm', 0); $this->_AddForward('IgepNovedades__cancelarEdicion', 'correcto', 'index.php?view=igep/views/igep_novedadesVersion.php&panel=listar'); } }//FIN clase IgepComponentesMap ?>