...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
$view = new view(); $view->name = 'bandi_rest_api'; $view->description = 'Esposizione dei bandi degli ultimi 5 anni in rest per migrazione in Drupal 9'; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Bandi rest api'; $view->core = 7; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['title'] = 'Bandi rest api'; $handler->display->display_options['use_ajax'] = TRUE; $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Ripristina'; $handler->display->display_options['exposed_form']['options']['autosubmit'] = TRUE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; /* Relationship: Contenuto: File del bando (field_file_del_bando:fid) */ $handler->display->display_options['relationships']['field_file_del_bando_fid']['id'] = 'field_file_del_bando_fid'; $handler->display->display_options['relationships']['field_file_del_bando_fid']['table'] = 'field_data_field_file_del_bando'; $handler->display->display_options['relationships']['field_file_del_bando_fid']['field'] = 'field_file_del_bando_fid'; /* Campo: Contenuto: Data pubblicazione */ $handler->display->display_options['fields']['field_data_pubblicazione']['id'] = 'field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['table'] = 'field_data_field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['field'] = 'field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['label'] = 'pubblication_date'; $handler->display->display_options['fields']['field_data_pubblicazione']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['type'] = 'date_plain'; $handler->display->display_options['fields']['field_data_pubblicazione']['settings'] = array( 'format_type' => 'long', 'fromto' => '', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', ); /* Campo: Contenuto: Titolo */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = 'titolo'; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['title']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['title']['link_to_node'] = FALSE; /* Campo: Contenuto: Data scadenza */ $handler->display->display_options['fields']['field_data_scadenza']['id'] = 'field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['table'] = 'field_data_field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['field'] = 'field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['label'] = 'end_publication_date'; $handler->display->display_options['fields']['field_data_scadenza']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_data_scadenza']['settings'] = array( 'format_type' => 'long', 'fromto' => 'both', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'show_repeat_rule' => 'show', ); /* Campo: Contenuto: Orario */ $handler->display->display_options['fields']['field_orario']['id'] = 'field_orario'; $handler->display->display_options['fields']['field_orario']['table'] = 'field_data_field_orario'; $handler->display->display_options['fields']['field_orario']['field'] = 'field_orario'; $handler->display->display_options['fields']['field_orario']['element_label_colon'] = FALSE; /* Campo: Contenuto: Bando espletato? */ $handler->display->display_options['fields']['field_bando_archiviato']['id'] = 'field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['table'] = 'field_data_field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['field'] = 'field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['label'] = 'Bando_espletato'; $handler->display->display_options['fields']['field_bando_archiviato']['alter']['text'] = 'if ([field_bando_archiviato-value] == 1) \'\''; $handler->display->display_options['fields']['field_bando_archiviato']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_bando_archiviato']['type'] = 'list_key'; /* Campo: Contenuto: Body */ $handler->display->display_options['fields']['body']['id'] = 'body'; $handler->display->display_options['fields']['body']['table'] = 'field_data_body'; $handler->display->display_options['fields']['body']['field'] = 'body'; $handler->display->display_options['fields']['body']['label'] = 'descrizione'; $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['body']['element_default_classes'] = FALSE; /* Campo: Contenuto: Pubblicato */ $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'node'; $handler->display->display_options['fields']['status']['field'] = 'status'; $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['status']['not'] = 0; /* Campo: Contenuto: Percorso */ $handler->display->display_options['fields']['path_1']['id'] = 'path_1'; $handler->display->display_options['fields']['path_1']['table'] = 'node'; $handler->display->display_options['fields']['path_1']['field'] = 'path'; $handler->display->display_options['fields']['path_1']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['path_1']['element_default_classes'] = FALSE; /* Campo: File: ID file */ $handler->display->display_options['fields']['fid']['id'] = 'fid'; $handler->display->display_options['fields']['fid']['table'] = 'file_managed'; $handler->display->display_options['fields']['fid']['field'] = 'fid'; /* Campo: File: Nome */ $handler->display->display_options['fields']['filename']['id'] = 'filename'; $handler->display->display_options['fields']['filename']['table'] = 'file_managed'; $handler->display->display_options['fields']['filename']['field'] = 'filename'; /* Campo: File: Percorso */ $handler->display->display_options['fields']['uri']['id'] = 'uri'; $handler->display->display_options['fields']['uri']['table'] = 'file_managed'; $handler->display->display_options['fields']['uri']['field'] = 'uri'; /* Campo: File: Etichetta file */ $handler->display->display_options['fields']['field_etichetta_file']['id'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['table'] = 'field_data_field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['field'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['field_etichetta_file']['element_label_colon'] = FALSE; /* Campo: Global: Visualizza */ $handler->display->display_options['fields']['view']['id'] = 'view'; $handler->display->display_options['fields']['view']['table'] = 'views'; $handler->display->display_options['fields']['view']['field'] = 'view'; /* Filter criterion: Contenuto: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; $handler->display->display_options['filters']['type']['table'] = 'node'; $handler->display->display_options['filters']['type']['field'] = 'type'; $handler->display->display_options['filters']['type']['value'] = array( 'bando' => 'bando', ); /* Filter criterion: Contenuto: Data scadenza (field_data_scadenza) */ $handler->display->display_options['filters']['field_data_scadenza_value']['id'] = 'field_data_scadenza_value'; $handler->display->display_options['filters']['field_data_scadenza_value']['table'] = 'field_data_field_data_scadenza'; $handler->display->display_options['filters']['field_data_scadenza_value']['field'] = 'field_data_scadenza_value'; $handler->display->display_options['filters']['field_data_scadenza_value']['operator'] = '>'; $handler->display->display_options['filters']['field_data_scadenza_value']['default_date'] = 'now -5 year'; /* Display: Bandi */ $handler = $view->new_display('services', 'Bandi', 'bandi'); $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['default_row_class'] = FALSE; $handler->display->display_options['style_options']['row_class_special'] = FALSE; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Contenuto: Data pubblicazione */ $handler->display->display_options['fields']['field_data_pubblicazione']['id'] = 'field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['table'] = 'field_data_field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['field'] = 'field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['label'] = 'pubblication_date'; $handler->display->display_options['fields']['field_data_pubblicazione']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_data_pubblicazione']['type'] = 'date_plain'; $handler->display->display_options['fields']['field_data_pubblicazione']['settings'] = array( 'format_type' => 'long', 'fromto' => '', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', ); /* Campo: Contenuto: Titolo */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = 'titolo'; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['title']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['title']['link_to_node'] = FALSE; /* Campo: Contenuto: Data scadenza */ $handler->display->display_options['fields']['field_data_scadenza']['id'] = 'field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['table'] = 'field_data_field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['field'] = 'field_data_scadenza'; $handler->display->display_options['fields']['field_data_scadenza']['label'] = 'end_publication_date'; $handler->display->display_options['fields']['field_data_scadenza']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_data_scadenza']['settings'] = array( 'format_type' => 'long', 'fromto' => 'both', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'show_repeat_rule' => 'show', ); /* Campo: Contenuto: Orario */ $handler->display->display_options['fields']['field_orario']['id'] = 'field_orario'; $handler->display->display_options['fields']['field_orario']['table'] = 'field_data_field_orario'; $handler->display->display_options['fields']['field_orario']['field'] = 'field_orario'; $handler->display->display_options['fields']['field_orario']['element_label_colon'] = FALSE; /* Campo: Contenuto: Bando espletato? */ $handler->display->display_options['fields']['field_bando_archiviato']['id'] = 'field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['table'] = 'field_data_field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['field'] = 'field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['label'] = 'Bando_espletato'; $handler->display->display_options['fields']['field_bando_archiviato']['alter']['text'] = 'if ([field_bando_archiviato-value] == 1) \'\''; $handler->display->display_options['fields']['field_bando_archiviato']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_bando_archiviato']['type'] = 'list_key'; /* Campo: Contenuto: Body */ $handler->display->display_options['fields']['body']['id'] = 'body'; $handler->display->display_options['fields']['body']['table'] = 'field_data_body'; $handler->display->display_options['fields']['body']['field'] = 'body'; $handler->display->display_options['fields']['body']['label'] = 'descrizione'; $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['body']['element_default_classes'] = FALSE; /* Campo: Contenuto: Pubblicato */ $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'node'; $handler->display->display_options['fields']['status']['field'] = 'status'; $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['status']['not'] = 0; /* Campo: Contenuto: Percorso */ $handler->display->display_options['fields']['path_1']['id'] = 'path_1'; $handler->display->display_options['fields']['path_1']['table'] = 'node'; $handler->display->display_options['fields']['path_1']['field'] = 'path'; $handler->display->display_options['fields']['path_1']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['path_1']['element_default_classes'] = FALSE; /* Campo: File: ID file */ $handler->display->display_options['fields']['fid']['id'] = 'fid'; $handler->display->display_options['fields']['fid']['table'] = 'file_managed'; $handler->display->display_options['fields']['fid']['field'] = 'fid'; $handler->display->display_options['fields']['fid']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['fid']['label'] = 'file_id'; $handler->display->display_options['fields']['fid']['element_label_colon'] = FALSE; /* Campo: File: Nome */ $handler->display->display_options['fields']['filename']['id'] = 'filename'; $handler->display->display_options['fields']['filename']['table'] = 'file_managed'; $handler->display->display_options['fields']['filename']['field'] = 'filename'; $handler->display->display_options['fields']['filename']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['filename']['label'] = 'fileName'; $handler->display->display_options['fields']['filename']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['filename']['link_to_file'] = FALSE; /* Campo: File: Percorso */ $handler->display->display_options['fields']['uri']['id'] = 'uri'; $handler->display->display_options['fields']['uri']['table'] = 'file_managed'; $handler->display->display_options['fields']['uri']['field'] = 'uri'; $handler->display->display_options['fields']['uri']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['uri']['label'] = 'filePath'; $handler->display->display_options['fields']['uri']['element_label_colon'] = FALSE; /* Campo: File: Etichetta file */ $handler->display->display_options['fields']['field_etichetta_file']['id'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['table'] = 'field_data_field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['field'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['field_etichetta_file']['label'] = 'fileLabel'; $handler->display->display_options['fields']['field_etichetta_file']['element_label_colon'] = FALSE; /* Campo: Contenuto: Nid */ $handler->display->display_options['fields']['nid']['id'] = 'nid'; $handler->display->display_options['fields']['nid']['table'] = 'node'; $handler->display->display_options['fields']['nid']['field'] = 'nid'; $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE; /* Campo: Campo: Elenco dei paragrafi */ $handler->display->display_options['fields']['field_paragrafi']['id'] = 'field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['table'] = 'field_data_field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['field'] = 'field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['label'] = 'paragrph'; $handler->display->display_options['fields']['field_paragrafi']['alter']['trim_whitespace'] = TRUE; $handler->display->display_options['fields']['field_paragrafi']['alter']['nl2br'] = TRUE; $handler->display->display_options['fields']['field_paragrafi']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_paragrafi']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['field_paragrafi']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['field_paragrafi']['settings'] = array( 'view_mode' => 'full', ); $handler->display->display_options['fields']['field_paragrafi']['delta_offset'] = '0'; $handler->display->display_options['fields']['field_paragrafi']['multi_type'] = 'ul'; $handler->display->display_options['path'] = 'bandi-list'; /* Display: BandiCounter */ $handler = $view->new_display('services', 'BandiCounter', 'count_bandi'); $handler->display->display_options['defaults']['group_by'] = FALSE; $handler->display->display_options['group_by'] = TRUE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['relationships'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Contenuto: Nid */ $handler->display->display_options['fields']['nid']['id'] = 'nid'; $handler->display->display_options['fields']['nid']['table'] = 'node'; $handler->display->display_options['fields']['nid']['field'] = 'nid'; $handler->display->display_options['fields']['nid']['group_type'] = 'count_distinct'; $handler->display->display_options['fields']['nid']['label'] = 'total'; $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['nid']['element_default_classes'] = FALSE; $handler->display->display_options['fields']['nid']['hide_alter_empty'] = FALSE; $handler->display->display_options['fields']['nid']['separator'] = ''; $handler->display->display_options['path'] = 'count-bandi'; /* Display: BandoFile */ $handler = $view->new_display('services', 'BandoFile', 'bando_file'); $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['default_row_class'] = FALSE; $handler->display->display_options['style_options']['row_class_special'] = FALSE; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: File: ID file */ $handler->display->display_options['fields']['fid']['id'] = 'fid'; $handler->display->display_options['fields']['fid']['table'] = 'file_managed'; $handler->display->display_options['fields']['fid']['field'] = 'fid'; $handler->display->display_options['fields']['fid']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['fid']['label'] = 'file_id'; $handler->display->display_options['fields']['fid']['element_label_colon'] = FALSE; /* Campo: File: Nome */ $handler->display->display_options['fields']['filename']['id'] = 'filename'; $handler->display->display_options['fields']['filename']['table'] = 'file_managed'; $handler->display->display_options['fields']['filename']['field'] = 'filename'; $handler->display->display_options['fields']['filename']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['filename']['label'] = 'fileName'; $handler->display->display_options['fields']['filename']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['filename']['link_to_file'] = FALSE; /* Campo: File: Percorso */ $handler->display->display_options['fields']['uri']['id'] = 'uri'; $handler->display->display_options['fields']['uri']['table'] = 'file_managed'; $handler->display->display_options['fields']['uri']['field'] = 'uri'; $handler->display->display_options['fields']['uri']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['uri']['label'] = 'filePath'; $handler->display->display_options['fields']['uri']['element_label_colon'] = FALSE; /* Campo: File: Etichetta file */ $handler->display->display_options['fields']['field_etichetta_file']['id'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['table'] = 'field_data_field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['field'] = 'field_etichetta_file'; $handler->display->display_options['fields']['field_etichetta_file']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['field_etichetta_file']['label'] = 'fileLabel'; $handler->display->display_options['fields']['field_etichetta_file']['element_label_colon'] = FALSE; $handler->display->display_options['pathdefaults'] = 'bandi-file-bando-list'; /* Display: BandoFileCounter */ $handler = $view->new_display('services', 'BandoFileCounter', 'bando_file_counter')['filter_groups'] = FALSE; $handler->display->display_options['defaults']['group_byfilters'] = FALSE; $handler->display->display_options['group_by'] = TRUE;/* Filter criterion: Contenuto: Tipo */ $handler->display->display_options['filters']['defaultstype']['pagerid'] = FALSE'type'; $handler->display->display_options['pagerfilters']['type']['table'] = 'nonenode'; $handler->display->display_options['pagerfilters']['optionstype']['offsetfield'] = '0type'; $handler->display->display_options['filters']['defaultstype']['style_pluginvalue'] = FALSE; $handler->display->display_options['style_plugin'] = 'default';array( 'bando' => 'bando', ); /* Filter criterion: Contenuto: Data scadenza (field_data_scadenza) */ $handler->display->display_options['style_optionsfilters']['defaultfield_data_rowscadenza_class'] value']['id'] = 'field_data_scadenza_value'; $handler->display->display_options['filters']['field_data_scadenza_value']['table'] = 'field_data_field_data_scadenza'; $handler->display->display_options['filters']['field_data_scadenza_value']['field'] = 'field_data_scadenza_value'; $handler->display->display_options['filters']['field_data_scadenza_value']['operator'] = '>'; $handler->display->display_options['filters']['field_data_scadenza_value']['default_date'] = 'now -5 year'; /* Filter criterion: File: ID file */ $handler->display->display_options['filters']['fid']['id'] = 'fid'; $handler->display->display_options['filters']['fid']['table'] = 'file_managed'; $handler->display->display_options['filters']['fid']['field'] = 'fid'; $handler->display->display_options['filters']['fid']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['filters']['fid']['operator'] = 'not empty'; $handler->display->display_options['path'] = 'bandi-file-bando-list'; /* Display: BandoFileCounter */ $handler = $view->new_display('services', 'BandoFileCounter', 'bando_file_counter'); $handler->display->display_options['defaults']['group_by'] = FALSE; $handler->display->display_options['group_by'] = TRUE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['default_row_class'] = FALSE; $handler->display->display_options['style_options']['row_class_special'] = FALSE; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: File: ID file */ $handler->display->display_options['fields']['fid']['id'] = 'fid'; $handler->display->display_options['fields']['fid']['table'] = 'file_managed'; $handler->display->display_options['fields']['fid']['field'] = 'fid'; $handler->display->display_options['fields']['fid']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['fid']['group_type'] = 'count_distinct'; $handler->display->display_options['fields']['fid']['label'] = 'total'; $handler->display->display_options['fields']['fid']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['fid']['separator'] = ''; $handler->display->display_options['path'] = 'bandi-file-bando-counter'; /* Display: BandiParagraphFiles */ $handler = $view->new_display('services', 'BandiParagraphFiles', 'paragraph_files'); $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['default_row_class'] = FALSE; $handler->display->display_options['style_options']['row_class_special'] = FALSE; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fieldsrelationships'] = FALSE; /* Relationship: Campo: Elenco File:dei ID fileparagrafi (field_paragrafi) */ $handler->display->display_options['fieldsrelationships']['fidfield_paragrafi_value']['id'] = 'fidfield_paragrafi_value'; $handler->display->display_options['fieldsrelationships']['fidfield_paragrafi_value']['table'] = 'file_managedfield_data_field_paragrafi'; $handler->display->display_options['fieldsrelationships']['fidfield_paragrafi_value']['field'] = 'fidfield_paragrafi_value'; $handler->display->display_options['fieldsrelationships']['fidfield_paragrafi_value']['relationshipdelta'] = '-1'field_file_del_bando_fid';; /* Relationship: Campo: Manifesto degli studi (field_documento:fid) */ $handler->display->display_options['fieldsrelationships']['field_documento_fid']['group_typeid'] = 'countfield_documento_distinctfid'; $handler->display->display_options['fieldsrelationships']['field_documento_fid']['labeltable'] = 'totalfield_data_field_documento'; $handler->display->display_options['fieldsrelationships']['field_documento_fid']['element_label_colonfield'] = FALSE'field_documento_fid'; $handler->display->display_options['fieldsrelationships']['field_documento_fid']['separatorrelationship'] = 'field_paragrafi_value'; $handler->display->display_options['defaults']['pathfields'] = 'bandi-file-bando-counter'; FALSE; /* Campo: DisplayContenuto: BandiParagraphFilesNid */ $handler = $view->new_display('services', 'BandiParagraphFiles', 'paragraph_files'); $handler->display->display_options['defaultsfields']['style_pluginnid'] = FALSE; $handler->display->display_options['style_pluginid'] = 'defaultnid'; $handler->display->display_options['style_optionsfields']['nid']['default_row_classtable'] = FALSE'node'; $handler->display->display_options['fields']['style_optionsnid']['row_class_specialfield'] = FALSE'nid'; $handler->display->display_options['fields']['defaultsnid']['style_optionslabel'] = FALSE''; $handler->display->display_options['fields']['defaultsnid']['row_pluginexclude'] = FALSETRUE; $handler->display->display_options['fields']['nid']['rowelement_label_plugincolon'] = 'fields';FALSE; /* Campo: File: ID file */ $handler->display->display_options['row_optionsfields']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', )fid']['id'] = 'fid'; $handler->display->display_options['fields']['row_optionsfid']['default_field_elementstable'] = FALSE'file_managed'; $handler->display->display_options['fields']['defaultsfid']['row_optionsfield'] = FALSE'fid'; $handler->display->display_options['fields']['defaultsfid']['relationshipsrelationship'] = FALSE; /* Relationship: Campo: Elenco dei paragrafi (field_paragrafi) */'field_documento_fid'; $handler->display->display_options['relationshipsfields']['field_paragrafi_valuefid']['idlabel'] = 'field_paragrafi_valuefileID'; $handler->display->display_options['fields']['relationshipsfid']['field_paragrafi_valuealter']['tablealter_text'] = 'field_data_field_paragrafi'TRUE; $handler->display->display_options['fields']['relationshipsfid']['field_paragrafi_valuealter']['fieldtext'] = 'field_paragrafi_value[nid]_[fid]'; $handler->display->display_options['relationshipsfields']['field_paragrafi_valuefid']['deltaelement_label_colon'] = '-1'FALSE; /* RelationshipCampo: CampoFile: ManifestoEtichetta degli studi (field_documento:fid) file */ $handler->display->display_options['relationshipsfields']['field_documentoetichetta_fidfile']['id'] = 'field_documentoetichetta_fidfile'; $handler->display->display_options['relationshipsfields']['field_documentoetichetta_fidfile']['table'] = 'field_data_field_etichetta_documentofile'; $handler->display->display_options['relationshipsfields']['field_documentoetichetta_fidfile']['field'] = 'field_documentoetichetta_fidfile'; $handler->display->display_options['relationshipsfields']['field_documentoetichetta_fidfile']['relationship'] = 'field_paragrafidocumento_valuefid'; $handler->display->display_options['fields']['defaultsfield_etichetta_file']['fieldslabel'] = FALSE 'fileLabel'; /* Campo: ContenutoFile: NidNome */ $handler->display->display_options['fields']['nidfilename']['id'] = 'nidfilename'; $handler->display->display_options['fields']['nidfilename']['table'] = 'nodefile_managed'; $handler->display->display_options['fields']['nidfilename']['field'] = 'nidfilename'; $handler->display->display_options['fields']['nidfilename']['labelrelationship'] = 'field_documento_fid'; $handler->display->display_options['fields']['nidfilename']['excludelabel'] = TRUE'filename'; $handler->display->display_options['fields']['nidfilename']['elementlink_labelto_colonfile'] = FALSE; /* Campo: File: ID filePercorso */ $handler->display->display_options['fields']['fiduri']['id'] = 'fiduri'; $handler->display->display_options['fields']['fiduri']['table'] = 'file_managed'; $handler->display->display_options['fields']['fiduri']['field'] = 'fiduri'; $handler->display->display_options['fields']['fiduri']['relationship'] = 'field_documento_fid'; $handler->display->display_options['fields']['fiduri']['label'] = 'fileIDfilePath'; $handler->display->display_options['fieldsdefaults']['fid']['alter']['alter_textfilter_groups'] = TRUE; $handler->display->display_options['fields']['fid']['alter']['text'] = '[nid]_[fid]'FALSE; $handler->display->display_options['fields']options['fiddefaults']['element_label_colonfilters'] = FALSE; /* Filter Campocriterion: FileContenuto: Etichetta fileTipo */ $handler->display->display_options['fieldsfilters']['field_etichetta_filetype']['id'] = 'field_etichetta_filetype'; $handler->display->display_options['fieldsfilters']['field_etichetta_filetype']['table'] = 'field_data_field_etichetta_filenode'; $handler->display->display_options['fieldsfilters']['field_etichetta_filetype']['field'] = 'field_etichetta_filetype'; $handler->display->display_options['fieldsfilters']['field_etichetta_filetype']['relationshipvalue'] = 'field_documento_fid'; $handler->display->display_options['fields']['field_etichetta_file']['label'] = 'fileLabel'array( 'bando' => 'bando', ); /* Filter criterion: CampoContenuto: Data File: Nomescadenza (field_data_scadenza) */ $handler->display->display_options['fieldsfilters']['filenamefield_data_scadenza_value']['id'] = 'filenamefield_data_scadenza_value'; $handler->display->display_options['fieldsfilters']['filenamefield_data_scadenza_value']['table'] = 'file_managedfield_data_field_data_scadenza'; $handler->display->display_options['fieldsfilters']['filenamefield_data_scadenza_value']['field'] = 'filenamefield_data_scadenza_value'; $handler->display->display_options['fieldsfilters']['filenamefield_data_scadenza_value']['relationshipoperator'] = 'field_documento_fid>'; $handler->display->display_options['fieldsfilters']['filenamefield_data_scadenza_value']['labeldefault_date'] = 'filename'; $handler->display->display_options['fields']['filename']['link_to_file'] = FALSEnow -5 year'; /* CampoFilter criterion: File: PercorsoID file */ $handler->display->display_options['fieldsfilters']['urifid']['id'] = 'urifid'; $handler->display->display_options['fieldsfilters']['urifid']['table'] = 'file_managed'; $handler->display->display_options['fieldsfilters']['urifid']['field'] = 'urifid'; $handler->display->display_options['fieldsfilters']['urifid']['relationship'] = 'field_documento_fid'; $handler->display->display_options['fieldsfilters']['urifid']['labeloperator'] = 'filePathnot empty'; $handler->display->display_options['path'] = 'bandi-paragraph-files-list'; /* Display: BandiParagraphFilesCounter */ $handler = $view->new_display('services', 'BandiParagraphFilesCounter', 'paragraph_files_counter'); $handler->display->display_options['defaults']['group_by'] = FALSE; $handler->display->display_options['group_by'] = TRUE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['style_options']['default_row_class'] = FALSE; $handler->display->display_options['style_options']['row_class_special'] = FALSE; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', ); $handler->display->display_options['row_options']['default_field_elements'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['relationships'] = FALSE; /* Relationship: Campo: Elenco dei paragrafi (field_paragrafi) */ $handler->display->display_options['relationships']['field_paragrafi_value']['id'] = 'field_paragrafi_value'; $handler->display->display_options['relationships']['field_paragrafi_value']['table'] = 'field_data_field_paragrafi'; $handler->display->display_options['relationships']['field_paragrafi_value']['field'] = 'field_paragrafi_value'; $handler->display->display_options['relationships']['field_paragrafi_value']['delta'] = '-1'; /* Relationship: Campo: Manifesto degli studi (field_documento:fid) */ $handler->display->display_options['relationships']['field_documento_fid']['id'] = 'field_documento_fid'; $handler->display->display_options['relationships']['field_documento_fid']['table'] = 'field_data_field_documento'; $handler->display->display_options['relationships']['field_documento_fid']['field'] = 'field_documento_fid'; $handler->display->display_options['relationships']['field_documento_fid']['relationship'] = 'field_paragrafi_value'; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: File: ID file */ $handler->display->display_options['fields']['fid']['id'] = 'fid'; $handler->display->display_options['fields']['fid']['table'] = 'file_managed'; $handler->display->display_options['fields']['fid']['field'] = 'fid'; $handler->display->display_options['fields']['fid']['relationship'] = 'field_documento_fid'; $handler->display->display_options['fields']['fid']['group_type'] = 'count_distinct'; $handler->display->display_options['fields']['fid']['label'] = 'total'; $handler->display->display_options['fields']['fid']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['fid']['separator'] = ''; $handler->display->display_options['path'] = 'bandi-paragraph-files-counter'; $translatables['bandi_rest_api'] = array( t('Master'), t('Bandi rest api'), t('more'), t('Apply'), t('Ripristina'), t('Sort by'), t('Asc'), t('Desc'), t('file from field_file_del_bando'), t('pubblication_date'), t('titolo'), t('end_publication_date'), t('Orario'), t('Bando_espletato'), t('if ([field_bando_archiviato-value] == 1) \'\''), t('descrizione'), t('Pubblicato'), t('Percorso'), t('ID file'), t('Nome'), t('Etichetta file'), t('Visualizza'), t('Bandi'), t('file_id'), t('fileName'), t('filePath'), t('fileLabel'), t('Nid'), t('paragrph'), t('BandiCounter'), t('total'), t('BandoFile'), t('BandoFileCounter'), t('BandiParagraphFiles'), t('Paragraph item from field_paragrafi'), t('file from field_documento'), t('fileID'), t('[nid]_[fid]'), t('filename'), t('BandiParagraphFilesCounter'), ); |
Indirizzi url :
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=bandi
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=count_bandi
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=bando_file
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=bando_file_counter
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=paragraph_files
- https://www.uniss.it/api/v1/views/bandi_rest_api?display_id=paragraph_files_counter
...