/**
  * Dado el usuario actual carga aquellas restricciones aplicables a los componentes del item actual
  *
  */
 function cargar_info_restricciones()
 {
     $this->rf_pantallas = toba_proyecto_implementacion::get_rf_pantallas($this->item[0], $this->item[1], $this->id_restricciones);
     $this->rf_eis = toba_proyecto_implementacion::get_rf_eis($this->item[0], $this->item[1], $this->id_restricciones);
     $this->rf_eventos = toba_proyecto_implementacion::get_rf_eventos($this->item[0], $this->item[1], $this->id_restricciones);
     $this->rf_cuadro_cols = toba_proyecto_implementacion::get_rf_cuadro_cols($this->item[0], $this->item[1], $this->id_restricciones);
     $this->rf_form_efs = toba_proyecto_implementacion::get_rf_form_efs($this->item[0], $this->item[1], $this->id_restricciones);
     $this->rf_filtro_cols = toba_proyecto_implementacion::get_rf_filtro_cols($this->item[0], $this->item[1], $this->id_restricciones);
 }
Exemple #2
0
 /**
  *	Estado del sistema de perfiles de datos para el usuario actual
  */
 function get_info($fuente_datos)
 {
     $info['perfil_id'] = $this->get_id();
     $datos_perfil = toba_proyecto_implementacion::get_info_perfiles_datos($this->proyecto, $this->get_id());
     $info['perfil_nombre'] = $datos_perfil['nombre'];
     $info_dims = array();
     $dims = $this->get_lista_dimensiones_restringidas($fuente_datos);
     if ($dims) {
         foreach ($dims as $dim) {
             $info_dims[$dim] = $this->info_dimensiones[$fuente_datos][$dim]['nombre'];
         }
     }
     $info['dimensiones_restringidas'] = $info_dims;
     $info['gatillos_activos'] = $this->get_gatillos_activos($fuente_datos);
     return $info;
 }
 function get_restricciones_funcionales($perfiles = null)
 {
     if (!isset($perfiles)) {
         $perfiles = $this->get_perfiles_funcionales();
     }
     return toba_proyecto_implementacion::get_restricciones_funcionales($perfiles, toba::proyecto()->get_id());
 }
Exemple #4
0
 function get_perfiles_datos()
 {
     $proyecto = toba_editor::get_proyecto_cargado();
     return toba_proyecto_implementacion::get_perfiles_datos($proyecto);
 }