function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'seleccion_dependencia'; $propiedades[] = 'seleccion_dependencia_anterior'; return $propiedades; }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'datos_form'; $propiedades[] = 'datos_form_ml'; return $propiedades; }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'id_objeto'; $propiedades[] = 'datos'; return $propiedades; }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'seleccion_evento'; $propiedades[] = 'seleccion_evento_anterior'; return $propiedades; }
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); }
function mantener_estado_sesion() { $prop = parent::mantener_estado_sesion(); $prop[] = 'clase_actual'; $prop[] = 'datos_editor'; $prop[] = 'destino'; $prop[] = 'objeto_construido'; return $prop; }
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); }
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]; }
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; } } }
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); }
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(); } } }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'estilos'; return $propiedades; }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'usuario_actual'; return $propiedades; }
function ini() { toba_ci::set_navegacion_ajax(false); }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); return $propiedades; }
function mantener_estado_sesion() { $atributos = parent::mantener_estado_sesion(); $atributos[] = 'selecciones'; return $atributos; }
static function set_navegacion_ajax($set = true) { self::$_navegacion_ajax = $set; }
function ini() { parent::ini(); //TODO: Bug ei_esquema con navegacion ajax en windows toba_ci::set_navegacion_ajax(false); }
function mantener_estado_sesion() { $par = parent::mantener_estado_sesion(); $par[] = 'orden'; return $par; }
function evt__cancelar() { $this->get_relacion()->resetear(); parent::evt__cancelar(); $this->set_pantalla('seleccion'); }
function mantener_estado_sesion() { $propiedades = parent::mantener_estado_sesion(); $propiedades[] = 'pasadas_por_solapa'; return $propiedades; }
function generar_html() { echo toba_recurso::link_css('highlighter', null, true); parent::generar_html(); }
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); }
function mantener_estado_sesion() { $props = parent::mantener_estado_sesion(); $props[] = 'fuente'; return $props; }
/** * 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."); } } }