* @author Vero: * @author Toni: * @package gvHIDRA */ class gvHidraMaps extends MappingManager { /** * constructor function * @return void */ function gvHidraMaps () { $this->_SetOptions(); /*camposDependientes*/ $this->_AddMapping('gvHrefreshUI', 'IgepAccionesGenericas'); $this->_AddForward('gvHrefreshUI', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_actualizar.php&panel=listar'); $this->_AddMapping('gvHautocomplete', 'IgepAccionesGenericas'); //i18n $this->_AddMapping('gvHchangeLanguage', 'IgepAccionesGenericas'); $this->_AddForward('gvHchangeLanguage', 'gvHidraSuccess', 'phrame.php?action=volverPrincipal'); /*ventanaSeleccion*/ $this->_AddMapping('launchSelectionWindow', 'IgepAccionesGenericas'); $this->_AddForward('launchSelectionWindow', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php'); $this->_AddMapping('abrirVentanaSeleccion', 'IgepAccionesGenericas'); $this->_AddForward('abrirVentanaSeleccion', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php'); $this->_AddMapping('buscarVentanaSeleccion', 'IgepAccionesGenericas', ''); $this->_AddForward('buscarVentanaSeleccion', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php'); $this->_AddMapping('ordenarTabla', 'IgepAccionesGenericas'); $this->_AddForward('ordenarTabla', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ordenarTabla.php'); $this->_AddMapping('IgepSaltoVentana', 'IgepAccionesGenericas'); $this->_AddForward('IgepSaltoVentana', 'IgepSaltoVentana', 'phrame.php'); $this->_AddForward('IgepSaltoVentana', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_saltoModal.php'); $this->_AddMapping('IgepRegresoVentana', 'IgepAccionesGenericas'); $this->_AddForward('IgepRegresoVentana', 'IgepSaltoVentana', 'phrame.php'); $this->_AddForward('IgepRegresoVentana', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_saltoModal.php'); $this->_AddMapping('IgepInicioAplicacion', 'IgepAccionesGenericas'); $this->_AddForward('IgepInicioAplicacion', 'IgepOperacionOculto', 'index.php?view=igep/views/aplicacion.php'); $this->_AddMapping('cambiarPanelDetalle', 'IgepAccionesGenericas'); $this->_AddForward('cambiarPanelDetalle', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_cambiarDetalle.php'); $this->_AddMapping('cerrarAplicacion', 'gvHidraMainWindow'); $this->_AddForward('cerrarAplicacion', 'gvHidraCloseApp', 'index.php?view=igep/views/gvHidraCloseApp.php'); $this->_AddMapping('abrirAplicacion', 'gvHidraMainWindow'); $this->_AddForward('abrirAplicacion', 'gvHidraOpenApp', 'index.php?view=igep/views/aplicacion.php'); $this->_AddForward('abrirAplicacion', 'gvHidraCloseApp', 'index.php?view=igep/views/gvHidraCloseApp.php'); $this->_AddMapping('volverPrincipal', 'AppMainWindow'); $this->_AddForward('volverPrincipal', 'gvHidraPrincipal', 'index.php?view=igep/views/aplicacion.php'); $this->_AddForward('volverPrincipal', 'gvHidraCloseApp', 'index.php?view=igep/views/gvHidraCloseApp.php'); $this->_AddMapping('defaultPrint', 'IgepAccionesGenericas'); $this->_AddMapping('exportCSV', 'IgepAccionesGenericas'); $this->_AddMapping('openDebugger', 'gvHidraDebugger'); $this->_AddForward('openDebugger', 'ok', 'index.php?view=igep/views/igep_debugger.php'); $this->_AddMapping('refreshDebugger', 'gvHidraDebugger'); $this->_AddForward('refreshDebugger', 'ok', 'index.php?view=igep/views/igep_debugger.php'); $this->_AddMapping('cleaner', 'gvHidraCleaner'); $this->_AddForward('cleaner', 'gvCleaner', 'index.php?view=igep/views/aplicacion.php'); $this->_AddMapping('focusChanged', 'IgepAccionesGenericas'); $this->_AddForward('focusChanged', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_actualizar.php&panel=listar'); $this->_AddMapping('gvhKeepAliveSession', 'gvHidraMainWindow'); $this->_AddForward('gvhKeepAliveSession', 'gvHidraPrincipal', 'index.php?view=igep/views/aplicacion.php'); $this->_AddForward('gvhKeepAliveSession', 'gvHidraCloseApp', 'index.php?view=igep/views/gvHidraCloseApp.php'); //Cargamos el mapeo específico de la organización (si existe) if(class_exists('CustomMapping')) { $mapping = new CustomMapping(); $this->_MergeMappings($mapping); } } }//FIN clase IgepComponentesMap ?>