* @author Vero: * @author Toni: * @package gvHIDRA */ class gvHidraMaps extends MappingManager { /** * constructor function * @return void */ function __construct() { $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'); // REDMINE #22982 Live Search Ajax $this->_AddMapping('gvhLSautocomplete', 'IgepAccionesGenericas'); // Load img REDMINE #23201 $this->_AddMapping('gvhLoadImg', 'IgepAccionesGenericas'); //$this->_AddMapping('gvhLoadImgPag', 'IgepAccionesGenericas'); //i18n $this->_AddMapping('gvhChangeLanguage', 'IgepAccionesGenericas'); //$this->_AddForward('gvhChangeLanguage', 'gvHidraSuccess', 'phrame.php?action=volverPrincipal'); //Cambio de customs $this->_AddMapping('gvhChangeCustom', 'IgepAccionesGenericas'); /*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'); // REDMINE #23003 Ventana Live Search $this->_AddMapping('abrirVentanaLiveSearch', 'IgepAccionesGenericas'); $this->_AddForward('abrirVentanaLiveSearch', 'IgepVentanaLiveSearch', 'index.php?view=igep/views/igep_ventanaLiveSearch.php&panel=iniciarVentana'); $this->_AddForward('abrirVentanaLiveSearch', 'IgepOperacionOculto', 'index.php?view=igep/views/igep_ventanaLiveSearch.php&panel=listar'); $this->_AddMapping('buscarVentanaLiveSearch', 'IgepAccionesGenericas', ''); $this->_AddForward('buscarVentanaLiveSearch', 'IgepVentanaLiveSearch', 'index.php?view=igep/views/igep_ventanaLiveSearch.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('openChangelog', 'gvHidraChangelog'); $this->_AddForward('openChangelog', 'gvHidraHeader', 'index.php?view=igep/views/igep_changelog.php'); $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'); // REDMINE #23279 $endpoints = array_keys(getIgepFileManagerActions()); foreach ($endpoints as $endpoint) { $this->_AddMapping($endpoint, "IgepFileManager"); } //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 ?>