function ini() { if (!toba_info_editores::hay_fuente_definida(toba_editor::get_proyecto_cargado())) { throw new toba_error('El proyecto actual no tiene definida una fuente de datos propia. Chequear en las propiedades del proyecto.'); } if (isset($this->clase_actual)) { $this->cargar_editor(); } $hilo = toba::memoria(); $destino_tipo = $hilo->get_parametro('destino_tipo'); if (isset($destino_tipo)) { $this->destino = array(); $this->destino['tipo'] = $destino_tipo; $this->destino['objeto'] = $hilo->get_parametro('destino_id'); $this->destino['proyecto'] = $hilo->get_parametro('destino_proyecto'); $this->destino['pantalla'] = $hilo->get_parametro('destino_pantalla'); } }