function ajax__existe_metodo_dt($dt, toba_ajax_respuesta $respuesta) { $subclase = toba_info_editores::get_subclase_componente($dt); if (isset($subclase) && !empty($subclase)) { $archivo = toba::instancia()->get_path_proyecto(toba_contexto_info::get_proyecto()) . '/php/' . $subclase['subclase_archivo']; $php = new toba_archivo_php($archivo); if ($php->existe() && $php->contiene_metodo('get_descripciones')) { $sql = $this->get_sql_carga_tabla($dt); $respuesta->set($sql); } else { $respuesta->set(false); } } else { $respuesta->set(false); } }