* @author Vero: * @author Toni: * @package gvHIDRA */ class gvHidraMaps extends MappingManager { /** * constructor function * @return void */ function gvHidraMaps () { $this->_SetOptions(); /*camposDependientes JSON*/ $this->_AddMapping('gvhJSRefreshUI', 'IgepAccionesGenericas'); /*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('abrirVentanaSeleccion', 'IgepAccionesGenericas'); $this->_AddForward('abrirVentanaSeleccion', 'IgepVentanaSeleccion', 'index.php?view=igep/views/igep_ventanaSeleccion.php&panel=listar'); $this->_AddForward('abrirVentanaSeleccion', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaSeleccion.php&panel=listar'); $this->_AddMapping('buscarVentanaSeleccion', 'IgepAccionesGenericas', ''); $this->_AddForward('buscarVentanaSeleccion', 'IgepVentanaSeleccion', 'index.php?view=igep/views/igep_ventanaSeleccion.php&panel=listar'); $this->_AddMapping('ordenarTabla', 'IgepAccionesGenericas'); $this->_AddMapping('IgepSaltoVentana', 'IgepAccionesGenericas'); $this->_AddForward('IgepSaltoVentana', 'IgepSaltoVentana', 'phrame.php'); $this->_AddForward('IgepSaltoVentana', 'IgepSaltoVentanaModal', '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->_AddForward('IgepRegresoVentana', 'gvHidraCloseJDialog', 'phrame.php'); $this->_AddMapping('IgepInicioAplicacion', 'IgepAccionesGenericas'); $this->_AddForward('IgepInicioAplicacion', 'IgepOperacionOculto', 'index.php?view=igep/views/aplicacion.php'); $this->_AddMapping('cambiarPanelDetalle', 'IgepAccionesGenericas'); $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', 'gvHidraHeader', 'index.php?view=igep/views/igep_debugger.php'); $this->_AddMapping('refreshDebugger', 'gvHidraDebugger'); $this->_AddForward('refreshDebugger', 'gvHidraHeader', '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('ManageUpload__upFile', 'ManageUpload'); $this->_AddForward('ManageUpload__upFile', 'gvHidraHeader', 'index.php?view=igep/views/aplicacion.php'); $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) $CustomMapping = 'CustomMapping'; if( class_exists($CustomMapping) ) { $mapping = new $CustomMapping(); $this->_MergeMappings( $mapping ); } } }//FIN clase IgepComponentesMap ?>