123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371 |
- <?php
- // $Id$
- /**
- * @file
- * Liste des formations pour un thème passé en argument..
- */
- $view = new view;
- $view->name = 'fgcf_formations_par_thematique';
- $view->description = 'Liste des formations correpsondant à un thème donné';
- $view->tag = 'FGCF';
- $view->view_php = '';
- $view->base_table = 'node';
- $view->is_cacheable = FALSE;
- $view->api_version = 2;
- $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
- $handler = $view->new_display('default', 'Defaults', 'default');
- $handler->override_option('relationships', array(
- 'field_fgcf_fiche_organisme_nid' => array(
- 'label' => 'Organisme de formation',
- 'required' => 0,
- 'delta' => '-1',
- 'id' => 'field_fgcf_fiche_organisme_nid',
- 'table' => 'node_data_field_fgcf_fiche_organisme',
- 'field' => 'field_fgcf_fiche_organisme_nid',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('fields', array(
- 'title' => array(
- 'label' => 'Titre',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 1,
- 'exclude' => 0,
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- 'relationship' => 'none',
- 'group_type' => 'group',
- ),
- 'field_fgcf_fiche_organisme_nid' => array(
- 'label' => 'Organisme',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'custom',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => 1,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => 0,
- ),
- 'exclude' => 0,
- 'id' => 'field_fgcf_fiche_organisme_nid',
- 'table' => 'node_data_field_fgcf_fiche_organisme',
- 'field' => 'field_fgcf_fiche_organisme_nid',
- 'relationship' => 'none',
- ),
- 'field_fgcf_fiche_format_value' => array(
- 'label' => 'Format de cours',
- 'alter' => array(
- 'alter_text' => 0,
- 'text' => '',
- 'make_link' => 0,
- 'path' => '',
- 'link_class' => '',
- 'alt' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'target' => '',
- 'help' => '',
- 'trim' => 0,
- 'max_length' => '',
- 'word_boundary' => 1,
- 'ellipsis' => 1,
- 'html' => 0,
- 'strip_tags' => 0,
- ),
- 'empty' => '',
- 'hide_empty' => 0,
- 'empty_zero' => 0,
- 'link_to_node' => 0,
- 'label_type' => 'widget',
- 'format' => 'default',
- 'multiple' => array(
- 'group' => 1,
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_reversed' => 0,
- ),
- 'exclude' => 0,
- 'id' => 'field_fgcf_fiche_format_value',
- 'table' => 'node_data_field_fgcf_fiche_format',
- 'field' => 'field_fgcf_fiche_format_value',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('sorts', array(
- 'title' => array(
- 'order' => 'ASC',
- 'id' => 'title',
- 'table' => 'node',
- 'field' => 'title',
- 'relationship' => 'field_fgcf_fiche_organisme_nid',
- ),
- 'title_1' => array(
- 'order' => 'ASC',
- 'id' => 'title_1',
- 'table' => 'node',
- 'field' => 'title',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('arguments', array(
- 'tid' => array(
- 'default_action' => 'not found',
- 'style_plugin' => 'default_summary',
- 'style_options' => array(),
- 'wildcard' => 'all',
- 'wildcard_substitution' => 'All',
- 'title' => '',
- 'breadcrumb' => '',
- 'default_argument_type' => 'fixed',
- 'default_argument' => '',
- 'validate_type' => 'none',
- 'validate_fail' => 'not found',
- 'break_phrase' => 0,
- 'add_table' => 0,
- 'require_value' => 0,
- 'reduce_duplicates' => 0,
- 'set_breadcrumb' => 0,
- 'id' => 'tid',
- 'table' => 'term_node',
- 'field' => 'tid',
- 'validate_user_argument_type' => 'uid',
- 'validate_user_roles' => array(
- '2' => 0,
- ),
- 'relationship' => 'none',
- 'default_options_div_prefix' => '',
- 'default_argument_fixed' => '',
- 'default_argument_user' => 0,
- 'default_argument_php' => '',
- 'validate_argument_node_type' => array(
- 'fgcf_fiche' => 0,
- 'fgcf_prestataire' => 0,
- 'fgcf_thematique' => 0,
- 'page' => 0,
- 'story' => 0,
- ),
- 'validate_argument_node_access' => 0,
- 'validate_argument_nid_type' => 'nid',
- 'validate_argument_vocabulary' => array(
- '1' => 1,
- '2' => 0,
- '5' => 0,
- '4' => 0,
- '3' => 0,
- ),
- 'validate_argument_type' => 'tid',
- 'validate_argument_transform' => 0,
- 'validate_user_restrict_roles' => 0,
- 'validate_argument_php' => '',
- ),
- 'field_fgcf_fiche_dif_value' => array(
- 'default_action' => 'ignore',
- 'style_plugin' => 'default_summary',
- 'style_options' => array(),
- 'wildcard' => 'all',
- 'wildcard_substitution' => 'All',
- 'title' => '',
- 'breadcrumb' => '',
- 'default_argument_type' => 'fixed',
- 'default_argument' => '',
- 'validate_type' => 'none',
- 'validate_fail' => 'not found',
- 'add_table' => 0,
- 'require_value' => 0,
- 'reduce_duplicates' => 0,
- 'id' => 'field_fgcf_fiche_dif_value',
- 'table' => 'node_data_field_fgcf_fiche_dif',
- 'field' => 'field_fgcf_fiche_dif_value',
- 'validate_user_argument_type' => 'uid',
- 'validate_user_roles' => array(
- '2' => 0,
- ),
- 'relationship' => 'none',
- 'default_options_div_prefix' => '',
- 'default_argument_fixed' => '',
- 'default_argument_user' => 0,
- 'default_argument_php' => '',
- 'validate_argument_node_type' => array(
- 'fgcf_fiche' => 0,
- 'fgcf_prestataire' => 0,
- 'fgcf_thematique' => 0,
- 'page' => 0,
- 'story' => 0,
- ),
- 'validate_argument_node_access' => 0,
- 'validate_argument_nid_type' => 'nid',
- 'validate_argument_vocabulary' => array(
- '2' => 0,
- '5' => 0,
- '4' => 0,
- '3' => 0,
- '1' => 0,
- ),
- 'validate_argument_type' => 'tid',
- 'validate_argument_transform' => 0,
- 'validate_user_restrict_roles' => 0,
- 'validate_argument_php' => '',
- ),
- 'field_fgcf_fiche_modalite_value' => array(
- 'default_action' => 'ignore',
- 'style_plugin' => 'default_summary',
- 'style_options' => array(),
- 'wildcard' => 'all',
- 'wildcard_substitution' => 'All',
- 'title' => '',
- 'breadcrumb' => '',
- 'default_argument_type' => 'fixed',
- 'default_argument' => '',
- 'validate_type' => 'none',
- 'validate_fail' => 'not found',
- 'break_phrase' => 1,
- 'add_table' => 0,
- 'require_value' => 0,
- 'reduce_duplicates' => 1,
- 'id' => 'field_fgcf_fiche_modalite_value',
- 'table' => 'node_data_field_fgcf_fiche_modalite',
- 'field' => 'field_fgcf_fiche_modalite_value',
- 'validate_user_argument_type' => 'uid',
- 'validate_user_roles' => array(
- '2' => 0,
- ),
- 'relationship' => 'none',
- 'default_options_div_prefix' => '',
- 'default_argument_fixed' => '',
- 'default_argument_user' => 0,
- 'default_argument_php' => '',
- 'validate_argument_node_type' => array(
- 'fgcf_fiche' => 0,
- 'fgcf_prestataire' => 0,
- 'fgcf_thematique' => 0,
- 'page' => 0,
- 'story' => 0,
- ),
- 'validate_argument_node_access' => 0,
- 'validate_argument_nid_type' => 'nid',
- 'validate_argument_vocabulary' => array(
- '2' => 0,
- '5' => 0,
- '4' => 0,
- '3' => 0,
- '1' => 0,
- ),
- 'validate_argument_type' => 'tid',
- 'validate_argument_transform' => 0,
- 'validate_user_restrict_roles' => 0,
- 'validate_argument_php' => '',
- ),
- ));
- $handler->override_option('filters', array(
- 'type_1' => array(
- 'id' => 'type_1',
- 'table' => 'node',
- 'field' => 'type',
- 'relationship' => 'none',
- 'group_type' => 'group',
- 'operator' => 'in',
- 'value' => array(
- 'fgcf_fiche' => 'fgcf_fiche',
- ),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => '',
- 'label' => '',
- 'use_operator' => NULL,
- 'identifier' => '',
- 'optional' => 1,
- 'remember' => 0,
- 'single' => 1,
- 'reduce' => FALSE,
- ),
- ),
- 'status_extra' => array(
- 'operator' => '=',
- 'value' => '',
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
- ),
- 'id' => 'status_extra',
- 'table' => 'node',
- 'field' => 'status_extra',
- 'relationship' => 'none',
- ),
- ));
- $handler->override_option('access', array(
- 'type' => 'none',
- ));
- $handler->override_option('cache', array(
- 'type' => 'none',
- ));
- $handler->override_option('empty', 'Pas de résultat.');
- $handler->override_option('empty_format', '1');
- $handler->override_option('use_pager', '1');
- $handler->override_option('style_plugin', 'table');
- $handler->override_option('style_options', array(
- 'grouping' => '',
- 'override' => 1,
- 'sticky' => 0,
- 'order' => 'asc',
- 'columns' => array(
- 'title' => 'title',
- 'field_fgcf_fiche_organisme_nid' => 'field_fgcf_fiche_organisme_nid',
- ),
- 'info' => array(
- 'title' => array(
- 'sortable' => 0,
- 'separator' => '',
- ),
- 'field_fgcf_fiche_organisme_nid' => array(
- 'separator' => '',
- ),
- ),
- 'default' => '-1',
- ));
|