Пример #1
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'seleccion_dependencia';
     $propiedades[] = 'seleccion_dependencia_anterior';
     return $propiedades;
 }
Пример #2
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'datos_form';
     $propiedades[] = 'datos_form_ml';
     return $propiedades;
 }
Пример #3
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'id_objeto';
     $propiedades[] = 'datos';
     return $propiedades;
 }
Пример #4
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'seleccion_evento';
     $propiedades[] = 'seleccion_evento_anterior';
     return $propiedades;
 }
Пример #5
0
 final function __construct($id)
 {
     parent::__construct($id);
     $this->_alto = isset($this->_info_esquema['alto']) ? $this->_info_esquema['alto'] : null;
     $this->_ancho = isset($this->_info_esquema['ancho']) ? $this->_info_esquema['ancho'] : null;
     //TODO: Hack para navegacion ajax con windows
     toba_ci::set_navegacion_ajax(false);
 }
Пример #6
0
 function mantener_estado_sesion()
 {
     $prop = parent::mantener_estado_sesion();
     $prop[] = 'clase_actual';
     $prop[] = 'datos_editor';
     $prop[] = 'destino';
     $prop[] = 'objeto_construido';
     return $prop;
 }
Пример #7
0
 final function __construct($id)
 {
     parent::__construct($id);
     $this->_alto = get_var($this->_info_grafico['alto'], 300);
     $this->_ancho = get_var($this->_info_grafico['ancho'], 650);
     $this->_tipo = get_var($this->_info_grafico['grafico']);
     $this->ini_conf();
     //TODO: Hack para navegacion ajax con windows
     toba_ci::set_navegacion_ajax(false);
 }
Пример #8
0
 final function __construct($id)
 {
     if (!extension_loaded('php_mapscript') && !extension_loaded('MapScript')) {
         throw new toba_error('La extensión php_mapscript no se encuentra cargada, verifique la instalación.');
     }
     parent::__construct($id);
     //TODO: Hack para navegacion ajax con windows*/
     toba_ci::set_navegacion_ajax(false);
     $this->_param_mapext .= $this->_id[1];
     $this->_param_extra .= $this->_id[1];
 }
Пример #9
0
 function generar_html()
 {
     try {
         parent::generar_html();
     } catch (toba_error_def $e) {
         if ($this->fuente_no_configurada) {
             throw new toba_error('Por favor configure la fuente de datos para ejecutar el ejemplo');
         } else {
             throw $e;
         }
     }
 }
Пример #10
0
 function post_configurar()
 {
     parent::post_configurar();
     $img = toba_recurso::imagen_toba('nucleo/php.gif', true);
     $cliente = 'servicios/seguro_configuracion/ci_cliente.php';
     $url_cliente = toba::vinculador()->get_url('toba_editor', '30000014', array('archivo' => $cliente), array('prefijo' => toba_editor::get_punto_acceso_editor()));
     $url_servicio = toba::vinculador()->get_url('toba_editor', '30000014', array('archivo' => $this->path_servicio), array('prefijo' => toba_editor::get_punto_acceso_editor()));
     $html = "<div style='float:right; background-color:white; padding: 10px'><a target='logger' href='{$url_cliente}'>{$img} Ver .php del Cliente</a>";
     $html .= "<br><a target='logger' href='{$url_servicio}'>{$img} Ver .php del Servicio</a>";
     $url_ejemplos = 'http://repositorio.siu.edu.ar/trac/toba/wiki/Referencia/ServiciosWeb';
     $html .= "<br>Documentación de <a target='_blank' href='{$url_ejemplos}'>servicios web en toba</a></div>";
     $html .= $this->pantalla()->get_descripcion();
     $this->pantalla()->set_descripcion($html);
 }
Пример #11
0
 function ini()
 {
     toba_ci::set_navegacion_ajax(false);
     $this->en_popup = toba::proyecto()->get_parametro('item_pre_sesion_popup');
     if (toba::instalacion()->get_tipo_autenticacion() == 'openid') {
         try {
             toba::manejador_sesiones()->get_autenticacion()->verificar_acceso();
         } catch (toba_error_autenticacion $e) {
             //-- Caso error de validación
             toba::notificacion()->agregar($e->getMessage());
         }
     }
     $tipo_auth = toba::instalacion()->get_tipo_autenticacion();
     if (toba_autenticacion::es_autenticacion_centralizada($tipo_auth)) {
         if (!toba::manejador_sesiones()->get_autenticacion()->permite_login_toba()) {
             $this->evt__cas__ingresar();
         }
     }
 }
Пример #12
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'estilos';
     return $propiedades;
 }
Пример #13
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'usuario_actual';
     return $propiedades;
 }
Пример #14
0
 function ini()
 {
     toba_ci::set_navegacion_ajax(false);
 }
Пример #15
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     return $propiedades;
 }
Пример #16
0
 function mantener_estado_sesion()
 {
     $atributos = parent::mantener_estado_sesion();
     $atributos[] = 'selecciones';
     return $atributos;
 }
Пример #17
0
 static function set_navegacion_ajax($set = true)
 {
     self::$_navegacion_ajax = $set;
 }
Пример #18
0
 function ini()
 {
     parent::ini();
     //TODO: Bug ei_esquema con navegacion ajax en windows
     toba_ci::set_navegacion_ajax(false);
 }
Пример #19
0
 function mantener_estado_sesion()
 {
     $par = parent::mantener_estado_sesion();
     $par[] = 'orden';
     return $par;
 }
Пример #20
0
 function evt__cancelar()
 {
     $this->get_relacion()->resetear();
     parent::evt__cancelar();
     $this->set_pantalla('seleccion');
 }
Пример #21
0
 function mantener_estado_sesion()
 {
     $propiedades = parent::mantener_estado_sesion();
     $propiedades[] = 'pasadas_por_solapa';
     return $propiedades;
 }
Пример #22
0
 function generar_html()
 {
     echo toba_recurso::link_css('highlighter', null, true);
     parent::generar_html();
 }
Пример #23
0
 function post_configurar()
 {
     parent::post_configurar();
     $img = toba_recurso::imagen_toba('nucleo/php.gif', true);
     $cliente = 'servicios/rest/ci_rutas_rest.php';
     $url_api_doc = toba_rest::url_rest();
     $url_cliente = toba::vinculador()->get_url('toba_editor', '30000014', array('archivo' => $cliente), array('prefijo' => toba_editor::get_punto_acceso_editor()));
     $url_servicio = toba::vinculador()->get_url('toba_editor', '30000014', array('archivo' => $this->path_servicio), array('prefijo' => toba_editor::get_punto_acceso_editor()));
     $html = "<div style='float:right'>\n\t\t<a style='font-weight:bold' href='{$url_api_doc}'>Consola y Documentacion API REST</a> del proyecto<br/>\n\t\t<a target='logger' href='{$url_cliente}'>{$img} Ver .php del Cliente</a>";
     $html .= "<br><a target='logger' href='{$url_servicio}'>{$img} Ver .php del Servicio</a>";
     $url_ejemplos = 'http://repositorio.siu.edu.ar/trac/toba/wiki/Referencia/Rest';
     $html .= "<br>Documentación de <a target='_blank' href='{$url_ejemplos}'>servicios REST en toba</a></div>";
     $html .= $this->pantalla()->get_descripcion();
     $html .= "<style type='text/css'>\n\t\t\tpre { background-color: #ccc; padding: 5px; border: 1px solid gray; color: #333; }\n\t\t</style>";
     $this->pantalla()->set_descripcion($html);
 }
Пример #24
0
 function mantener_estado_sesion()
 {
     $props = parent::mantener_estado_sesion();
     $props[] = 'fuente';
     return $props;
 }
Пример #25
0
 /**
  * Instancia los cis/cns de primer nivel asignados al item y los relaciona
  */
 protected function cargar_objetos()
 {
     toba::logger()->seccion("Iniciando componentes...", 'toba');
     $this->cis = array();
     if (count($this->info['objetos']) > 0) {
         if (toba::proyecto()->get_parametro('navegacion_ajax')) {
             toba_ci::set_navegacion_ajax(true);
         }
         $i = 0;
         //Construye los objetos ci y el cn
         foreach ($this->info['objetos'] as $objeto) {
             if ($objeto['clase'] != 'toba_cn') {
                 $this->cis[] = $this->cargar_objeto($objeto['clase'], $i);
                 $i++;
             } else {
                 $this->cn = $this->cargar_objeto($objeto['clase'], 0);
                 $this->objetos[$this->cn]->inicializar();
             }
         }
         //Asigna el cn a los cis
         if (isset($this->cn)) {
             foreach ($this->cis as $ci) {
                 $this->objetos[$ci]->asignar_controlador_negocio($this->objetos[$this->cn]);
             }
         }
     } else {
         if ($this->info['basica']['item_act_accion_script'] == '') {
             throw new toba_error_def("Necesita asociar un objeto CI al ítem.");
         }
     }
 }