...
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'] = 'defaultviews_json'; $handler->display->display_options['style_options']['defaultroot_row_classobject'] = FALSE'Bandi'; $handler->display->display_options['style_options']['rowtop_classchild_specialobject'] = FALSE'Bando'; $handler->display->display_options['defaultsstyle_options']['styleplaintext_optionsoutput'] = FALSE1; $handler->display->display_options['defaultsstyle_options']['rowremove_pluginnewlines'] = FALSE0; $handler->display->display_options['row_pluginstyle_options']['jsonp_prefix'] = 'fields'; $handler->display->display_options['rowstyle_options']['inline'] = array( 'title' => 'title', 'field_data_pubblicazione' => 'field_data_pubblicazione', )using_views_api_mode'] = 1; $handler->display->display_options['rowstyle_options']['defaulttranslate_field_elementslabels'] = FALSE0; $handler->display->display_options['defaultsstyle_options']['rowobject_optionsarrays'] = FALSE0; $handler->display->display_options['defaultsstyle_options']['fieldsnumeric_strings'] = FALSE0; /* Campo: Contenuto: Data pubblicazione */ $handler->display->display_options['fieldsstyle_options']['field_data_pubblicazione']['idbigint_string'] = 'field_data_pubblicazione'0; $handler->display->display_options['fieldsstyle_options']['fieldpretty_data_pubblicazioneprint']['table'] = 'field_data_field_data_pubblicazione'0; $handler->display->display_options['fieldsstyle_options']['fieldunescaped_data_pubblicazioneslashes']['field'] = 'field_data_pubblicazione'1; $handler->display->display_options['fieldsstyle_options']['field_data_pubblicazione']['labelunescaped_unicode'] = 'pubblication_date'1; $handler->display->display_options['style_options']['char_encoding'] = array(); $handler->display->display_options['fieldsdefaults']['field_data_pubblicazionestyle_options'] = FALSE; $handler->display->display_options['defaults']['elementrow_label_colonplugin'] = FALSE; $handler->display->display_options['fieldsdefaults']['field_data_pubblicazionerow_options'] = FALSE; $handler->display->display_options['defaults']['element_default_classesfields'] = FALSE; /* Campo: Contenuto: Data pubblicazione */ $handler->display->display_options['fields']['field_data_pubblicazione']['hide_alter_emptyid'] = FALSE'field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['typetable'] = 'date_plainfield_data_field_data_pubblicazione'; $handler->display->display_options['fields']['field_data_pubblicazione']['settingsfield'] = array( 'format_type' => 'long', 'fromto' => '', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', ); /* Campo: Contenuto: Titolo */field_data_pubblicazione'; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['idlabel'] = 'titlepubblication_date'; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['tableelement_label_colon'] = 'node'FALSE; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['fieldelement_default_classes'] = 'title'FALSE; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['labelhide_alter_empty'] = 'titolo'FALSE; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['altertype'][ = 'worddate_boundaryplain'] = FALSE; $handler->display->display_options['fields']['titlefield_data_pubblicazione']['alter']['ellipsis'] = FALSE; settings'] = array( 'format_type' => 'long', 'fromto' => '', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', ); /* Campo: Contenuto: Titolo */ $handler->display->display_options['fields']['title']['element_label_colonid'] = FALSE'title'; $handler->display->display_options['fields']['title']['element_default_classestable'] = FALSE'node'; $handler->display->display_options['fields']['title']['hide_alter_emptyfield'] = FALSE'title'; $handler->display->display_options['fields']['title']['link_to_nodelabel'] = FALSE'titolo'; /* Campo: Contenuto: Data scadenza */ $handler->display->display_options['fields']['field_data_scadenza'title']['alter']['idword_boundary'] = 'field_data_scadenza'FALSE; $handler->display->display_options['fields']['field_data_scadenzatitle']['alter']['tableellipsis'] = 'field_data_field_data_scadenza'FALSE; $handler->display->display_options['fields']['field_data_scadenzatitle']['fieldelement_label_colon'] = 'field_data_scadenza'FALSE; $handler->display->display_options['fields']['field_data_scadenzatitle']['labelelement_default_classes'] = 'end_publication_date'; FALSE; $handler->display->display_options['fields']['field_data_scadenzatitle']['elementhide_labelalter_colonempty'] = FALSE; $handler->display->display_options['fields']['field_data_scadenzatitle']['settings'] = array( 'format_type' => 'long', 'fromto' => 'both', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'show_repeat_rule' => 'show', )link_to_node'] = FALSE; /* Campo: Contenuto: Data Orarioscadenza */ $handler->display->display_options['fields']['field_orariodata_scadenza']['id'] = 'field_data_orarioscadenza'; $handler->display->display_options['fields']['field_data_orarioscadenza']['table'] = 'field_data_field_data_orarioscadenza'; $handler->display->display_options['fields']['field_orariodata_scadenza']['field'] = 'field_orariodata_scadenza'; $handler->display->display_options['fields']['field_data_orarioscadenza']['element_label_colon'] = FALSE; /* Campo: Contenuto: Bando espletato? */ 'end_publication_date'; $handler->display->display_options['fields']['field_bandodata_archiviatoscadenza']['idelement_label_colon'] = 'field_bando_archiviato'FALSE; $handler->display->display_options['fields']['field_bandodata_archiviatoscadenza']['tablesettings'] = array( 'field_data_field_bando_archiviato'; $handler->display->display_options['fields']['field_bando_archiviato']['field'] = 'field_bando_archiviato'; $handlerformat_type' => 'long', 'fromto' => 'both', 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'show_repeat_rule' => 'show', ); /* Campo: Contenuto: Orario */ $handler->display->display_options['fields']['field_bando_archiviatoorario']['labelid'] = 'Bandofield_espletatoorario'; $handler->display->display_options['fields']['field_bando_archiviatoorario']['alter']['texttable'] = 'if ([field_bando_archiviato-value] == 1) \'\''data_field_orario'; $handler->display->display_options['fields']['field_bando_archiviatoorario']['element_label_colonfield'] = FALSE'field_orario'; $handler->display->display_options['fields']['field_bando_archiviatoorario']['type'element_label_colon'] = 'list_key'FALSE; /* Campo: Contenuto: BodyBando espletato? */ $handler->display->display_options['fields']['bodyfield_bando_archiviato']['id'] = 'bodyfield_bando_archiviato'; $handler->display->display_options['fields']['bodyfield_bando_archiviato']['table'] = 'field_data_field_bodybando_archiviato'; $handler->display->display_options['fields']['bodyfield_bando_archiviato']['field'] = 'bodyfield_bando_archiviato'; $handler->display->display_options['fields']['bodyfield_bando_archiviato']['label'] = 'descrizioneBando_espletato'; $handler->display->display_options['fields']['field_bando_archiviato']['bodyalter']['element_label_colon'] = FALSEtext'] = 'if ([field_bando_archiviato-value] == 1) \'\''; $handler->display->display_options['fields']['bodyfield_bando_archiviato']['element_defaultlabel_classescolon'] = FALSE; /* Campo: Contenuto: Pubblicato */ $handler->display->display_options['fields']['statusfield_bando_archiviato']['idtype'] = 'statuslist_key'; /* Campo: Contenuto: Body */ $handler->display->display_options['fields']['body']['id'] = 'body'; $handler->display->display_options['fields']['statusbody']['table'] = 'nodefield_data_body'; $handler->display->display_options['fields']['statusbody']['field'] = 'body'; $handler->display->display_options['fields']['body']['label'] = 'statusdescrizione'; $handler->display->display_options['fields']['statusbody']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['statusbody']['notelement_default_classes'] = 0FALSE; /* Campo: Contenuto: PercorsoPubblicato */ $handler->display->display_options['fields']['path_1status']['id'] = 'path_1status'; $handler->display->display_options['fields']['path_1status']['table'] = 'node'; $handler->display->display_options['fields']['path_1status']['field'] = 'pathstatus'; $handler->display->display_options['fields']['path_1status']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['path_1status']['element_default_classes''not'] = FALSE0; /* Campo: FileContenuto: ID filePercorso */ $handler->display->display_options['fields']['fidpath_1']['id'] = 'fidpath_1'; $handler->display->display_options['fields']['fidpath_1']['table'] = 'file_managednode'; $handler->display->display_options['fields']['fidpath_1']['field'] = 'fidpath'; $handler->display->display_options['fields']['fidpath_1']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['fid']['label'] = 'file_id'element_label_colon'] = FALSE; $handler->display->display_options['fields']['fidpath_1']['element_labeldefault_colonclasses'] = FALSE; /* Campo: File: NomeID file */ $handler->display->display_options['fields']['filenamefid']['id'] = 'filenamefid'; $handler->display->display_options['fields']['filenamefid']['table'] = 'file_managed'; $handler->display->display_options['fields']['filenamefid']['field'] = 'filenamefid'; $handler->display->display_options['fields']['filenamefid']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['filenamefid']['label'] = 'fileNamefile_id'; $handler->display->display_options['fields']['filenamefid']['element_label_colon'] = FALSE; /* Campo: File: Nome */ $handler->display->display_options['fields']['filename']['link_to_file''id'] = FALSE; /* Campo: File: Percorso */'filename'; $handler->display->display_options['fields']['urifilename']['idtable'] = 'urifile_managed'; $handler->display->display_options['fields']['urifilename']['tablefield'] = 'file_managedfilename'; $handler->display->display_options['fields']['urifilename']['fieldrelationship'] = 'urifield_file_del_bando_fid'; $handler->display->display_options['fields']['urifilename']['relationshiplabel'] = 'field_file_del_bando_fidfileName'; $handler->display->display_options['fields']['urifilename']['element_label_colon'] = 'filePath'FALSE; $handler->display->display_options['fields']['urifilename']['elementlink_labelto_colonfile'] = FALSE; /* Campo: File: EtichettaPercorso file */ $handler->display->display_options['fields']['field_etichetta_fileuri']['id'] = 'field_etichetta_fileuri'; $handler->display->display_options['fields']['field_etichetta_fileuri']['table'] = 'field_data_field_etichetta_filefile_managed'; $handler->display->display_options['fields']['field_etichetta_fileuri']['field'] = 'field_etichetta_fileuri'; $handler->display->display_options['fields']['field_etichetta_fileuri']['relationship'] = 'field_file_del_bando_fid'; $handler->display->display_options['fields']['field_etichetta_fileuri']['label'] = 'fileLabelfilePath'; $handler->display->display_options['fields']['field_etichetta_fileuri']['element_label_colon'] = FALSE; /* Campo: ContenutoFile: Etichetta Nidfile */ $handler->display->display_options['fields']['nidfield_etichetta_file']['id'] = 'nidfield_etichetta_file'; $handler->display->display_options['fields']['nidfield_etichetta_file']['table'] = 'nodefield_data_field_etichetta_file'; $handler->display->display_options['fields']['nidfield_etichetta_file']['field'] = 'nidfield_etichetta_file'; $handler->display->display_options['fields']['nidfield_etichetta_file']['element_label_colonrelationship'] = FALSE; /* Campo: Campo: Elenco dei paragrafi */ 'field_file_del_bando_fid'; $handler->display->display_options['fields']['field_paragrafietichetta_file']['idlabel'] = 'field_paragrafifileLabel'; $handler->display->display_options['fields']['field_etichetta_paragrafifile']['tableelement_label_colon'] = 'field_data_field_paragrafi'; $handlerFALSE; /* Campo: Contenuto: Nid */ $handler->display->display_options['fields']['field_paragrafinid']['fieldid'] = 'field_paragrafinid'; $handler->display->display_options['fields']['field_paragrafinid']['labeltable'] = 'paragrphnode'; $handler->display->display_options['fields']['field_paragrafinid']['alterfield']['trim_whitespace'] = TRUE'nid'; $handler->display->display_options['fields']['field_paragrafinid']['alter']['nl2brelement_label_colon'] = TRUE;FALSE; /* Campo: Campo: Elenco dei paragrafi */ $handler->display->display_options['fields']['field_paragrafi']['element_label_colonid'] = FALSE'field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['element_default_classestable'] = FALSE'field_data_field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['hide_alter_emptyfield'] = FALSE'field_paragrafi'; $handler->display->display_options['fields']['field_paragrafi']['settingslabel'] = array( 'view_mode' => 'full', ); 'paragrph'; $handler->display->display_options['fields']['field_paragrafi']['alter']['deltatrim_offsetwhitespace'] = '0'TRUE; $handler->display->display_options['fields']['field_paragrafi']['multi_type'alter']['nl2br'] = 'ul'TRUE; $handler->display->display_options['pathfields'] = 'bandi-list'; /* Display: BandiCounter */ $handler = $view->new_display('services', 'BandiCounter', 'count_bandi')['field_paragrafi']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['defaultsfield_paragrafi']['groupelement_default_byclasses'] = FALSE; $handler->display->display_options['group_byfields']['field_paragrafi']['hide_alter_empty'] = TRUEFALSE; $handler->display->display_options['defaultsfields']['pagerfield_paragrafi']['settings'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'array( 'view_mode' => 'full', ); $handler->display->display_options['pagerfields']['optionsfield_paragrafi']['delta_offset'] = '0'; $handler->display->display_options['fields']['defaultsfield_paragrafi']['relationshipsmulti_type'] = FALSE'ul'; $handler->display->display_options['defaults']['fieldspath'] = FALSE'bandi-list'; /* CampoDisplay: Contenuto: NidBandiCounter */ $handler->display->display_options['fields']['nid']['id'] = 'nid' = $view->new_display('services', 'BandiCounter', 'count_bandi'); $handler->display->display_options['fieldsdefaults']['nid']['tablegroup_by'] = 'node'FALSE; $handler->display->display_options['fieldsgroup_by'] = TRUE; $handler->display->display_options['niddefaults']['fieldpager'] = 'nid'FALSE; $handler->display->display_options['fieldspager']['nid']['group_type'] = 'count_distinctnone'; $handler->display->display_options['fieldspager']['nidoptions']['labeloffset'] = 'total0'; $handler->display->display_options['fieldsdefaults']['nid'relationships'] = FALSE; $handler->display->display_options['defaults']['element_label_colonfields'] = FALSE; /* Campo: Contenuto: Nid */ $handler->display->display_options['fields']['nid']['element_default_classesid'] = FALSE'nid'; $handler->display->display_options['fields']['nid']['hide_alter_emptytable'] = FALSE'node'; $handler->display->display_options['fields']['nid']['separatorfield'] = 'nid'; $handler->display->display_options['pathfields']['nid']['group_type'] = 'count-bandi_distinct'; /* Display: BandoFile */ $handler = $view->new_display('services', 'BandoFile', 'bando_file'); $handler->display->display_options['defaults$handler->display->display_options['fields']['nid']['pagerlabel'] = FALSE'total'; $handler->display->display_options['fields']['pagernid']['typeelement_label_colon'] = 'some'FALSE; $handler->display->display_options['pagerfields']['optionsnid']['itemselement_perdefault_pageclasses'] = '5'FALSE; $handler->display->display_options['pagerfields']['optionsnid']['offsethide_alter_empty'] = '0'FALSE; $handler->display->display_options['defaults'fields']['nid']['style_pluginseparator'] = FALSE''; $handler->display->display_options['style_pluginpath'] = 'defaultcount-bandi'; /* Display: BandoFile */ $handler = $view->new_display('services', 'BandoFile', 'bando_file'); $handler->display->display_options['defaults']['style_options'pager'] = FALSE; $handler->display->display_options['pager']['default_row_classtype'] = FALSE'some'; $handler->display->display_options['pager']['style_options']['rowitems_classper_specialpage'] = FALSE'5'; $handler->display->display_options['defaultspager']['style_options']['offset'] = FALSE'0'; $handler->display->display_options['defaults']['rowstyle_plugin'] = FALSE; $handler->display->display_options['rowstyle_plugin'] = 'fieldsdefault'; $handler->display->display_options['rowstyle_options']['inlinedefault_row_class'] = array( 'title' => 'title', 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['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; /* 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'; /* 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']['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: 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']['label'] = ''; $handler->display->display_options['fields']['nid']['exclude'] = TRUE; $handler->display->display_options['fields']['nid']['element_label_colon'] = 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']['label'] = 'fileID'; $handler->display->display_options['fields']['fid']['alter']['alter_text'] = TRUE; $handler->display->display_options['fields']['fid']['alter']['text'] = '[nid]_[fid]'; $handler->display->display_options['fields']['fid']['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_documento_fid'; $handler->display->display_options['fields']['field_etichetta_file']['label'] = 'fileLabel'; /* 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_documento_fid'; $handler->display->display_options['fields']['filename']['label'] = 'filename'; $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_documento_fid'; $handler->display->display_options['fields']['uri']['label'] = 'filePath'; $handler->display->display_options['defaults']['filter_groups'] = FALSE; $handler->display->display_options['defaults']['filters'] = FALSE; /* 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'; /* 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_documento_fid'; $handler->display->display_options['filters']['fid']['operator'] = 'not 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']['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'; /* Display: TaxonomyTerms */ $handler = $view->new_display('services', 'TaxonomyTerms', 'tax_terms'); $handler->display->display_options['defaults']['relationships'] = FALSE; /* Relationship: Contenuto: Taxonomy terms on node */ $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; $handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array( 'categoria_bando' => 'categoria_bando', 'bandi_per_docenti_e_ricercatori' => 'bandi_per_docenti_e_ricercatori', 'bandi_per_personale_tecnico_amministrativo' => 'bandi_per_personale_tecnico_amministrativo', 'bandi_per_studenti' => 'bandi_per_studenti', 'bandi_di_gara' => 'bandi_di_gara', 'altri_bandi' => 'altri_bandi', 'base_area' => 0, 'area_corsi' => 0, 'pagina_di_target' => 0, 'categoria_documentazione' => 0, 'campus_sardegna' => 0, 'categoria_evento' => 0, 'docenti' => 0, 'personale' => 0, 'sba_biblioteche' => 0, 'studenti' => 0, 'media_folders' => 0, 'offerta_formativa_scuole' => 0, ); $handler->display->display_options['defaults']['relationshipsfields'] = FALSE; /* RelationshipCampo: Campo:Termine Elencodella deitassonomia: paragrafi (field_paragrafi)ID Termine */ $handler->display->display_options['relationshipsfields']['field_paragrafi_valuetid']['id'] = 'field_paragrafi_valuetid'; $handler->display->display_options['relationshipsfields']['field_paragrafi_valuetid']['table'] = 'fieldtaxonomy_term_data'; $handler->display->display_field_paragrafioptions['fields']['tid']['field'] = 'tid'; $handler->display->display_options['relationshipsfields']['field_paragrafi_valuetid']['fieldrelationship'] = 'fieldterm_paragrafinode_value';tid'; /* Campo: Termine della tassonomia: Nome */ $handler->display->display_options['relationshipsfields']['field_paragrafi_valuename']['deltaid'] = '-1name'; /* Relationship: Campo: Manifesto degli studi (field_documento:fid) */ $handler->display->display_options['relationshipsfields']['field_documento_fidname']['idtable'] = 'fieldtaxonomy_documentoterm_fiddata'; $handler->display->display_options['relationshipsfields']['field_documento_fidname']['tablefield'] = 'field_data_field_documentoname'; $handler->display->display_options['relationshipsfields']['field_documento_fidname']['fieldrelationship'] = 'fieldterm_documentonode_fidtid'; $handler->display->display_options['relationshipsfields']['field_documento_fidname']['relationshiplabel'] = 'field_paragrafi_valuename'; $handler->display->display_options['defaults'fields']['name']['fieldselement_label_colon'] = FALSE; /* Campo: Vocabolario della Filetassonomia: Nome ad IDuso fileinterno */ $handler->display->display_options['fields']['fidmachine_name']['id'] = 'fidmachine_name'; $handler->display->display_options['fields']['fidmachine_name']['table'] = 'filetaxonomy_managedvocabulary'; $handler->display->display_options['fields']['fidmachine_name']['field'] = 'fidmachine_name'; $handler->display->display_options['fields']['fidmachine_name']['relationship'] = 'fieldterm_documentonode_fidtid'; $handler->display->display_options['fields']['fid']['group_type'] = 'count_distinct'; $handler->display->display_options['fields']['fid'machine_name']['label'] = 'totalvocabulary'; $handler->display->display_options['fields']['fidmachine_name']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['fid']['separator'] = ''; $handler->display->display_options['path'] = 'bandi-paragraph-files-counterterms'; $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'), t('TaxonomyTerms'), t('term'), t('ID Termine'), t('.'), t(','), t('name'), t('vocabulary'), ); |
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
...