Ignorar:
Fecha y hora:
26/09/2012 11:33:57 (hace 12 años)
Autor:
Juan Vizcarrondo <jvizcarrondo@…>
Branches:
master, drupal-6.x
Children:
4dc8394
Parents:
5ad81cb
Mensaje:

Mejoras en el tiempo de instalacion y las vistas por defecto

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • modules/proyecto_estrategico/views/proyecto_estrategico.views_default.inc

    rffa4103 r24f4fb0  
    11<?php
     2
     3  /**
     4  *
     5  * Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana
     6  * @file proyecto_estrategico.views_default.inc
     7  * Drupal part Module to install ente planificador module
     8  * Copyright 2012 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL)
     9  *
     10  * This program is free software; you can redistribute it and/or modify
     11  * it under the terms of the GNU General Public License as published by
     12  * the Free Software Foundation; either version 2 of the License, or
     13  * (at your option) any later version.
     14  *
     15  * This program is distributed in the hope that it will be useful,
     16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     18  * GNU General Public License for more details.
     19  *
     20  * You should have received a copy of the GNU General Public License
     21  * along with this program; if not, write to the Free Software
     22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     23  *
     24  * @author Cenditel Merida - Msc. Juan Vizcarrondo
     25  * Modificado por: Msc. Juan Vizcarrondo @date YYYY-MM-DD.
     26  * @date 2012-09-14 // (a&#241;o-mes-dia)
     27  * @version 0.2 // (0.1)
     28  *
     29  */
     30
    231
    332/**
     
    635function proyecto_estrategico_views_default_views() {
    736  $view = new view;
    8     $view->name = 'proyectos_estrategicos';
    9     $view->description = 'proyecto_estrategico';
    10     $view->tag = '';
    11     $view->view_php = '';
    12     $view->base_table = 'node';
    13     $view->is_cacheable = FALSE;
    14     $view->api_version = 2;
    15     $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
    16     $handler = $view->new_display('default', 'Defaults', 'default');
    17     $handler->override_option('relationships', array(
    18       'field_estrategico_ente_nid' => array(
    19         'label' => 'Ente Planificador',
    20         'required' => 1,
    21         'delta' => -1,
    22         'id' => 'field_estrategico_ente_nid',
    23         'table' => 'node_data_field_estrategico_ente',
    24         'field' => 'field_estrategico_ente_nid',
    25         'relationship' => 'none',
    26       ),
    27     ));
    28     $handler->override_option('fields', array(
    29       'title_1' => array(
    30         'label' => 'Ente Planificador',
    31         'alter' => array(
    32           'alter_text' => 0,
    33           'text' => '',
    34           'make_link' => 0,
    35           'path' => '',
    36           'link_class' => '',
    37           'alt' => '',
    38           'prefix' => '',
    39           'suffix' => '',
    40           'target' => '',
    41           'help' => '',
    42           'trim' => 0,
    43           'max_length' => '',
    44           'word_boundary' => 1,
    45           'ellipsis' => 1,
    46           'html' => 0,
    47           'strip_tags' => 0,
    48         ),
    49         'empty' => '',
    50         'hide_empty' => 0,
    51         'empty_zero' => 0,
    52         'link_to_node' => 0,
    53         'exclude' => 0,
    54         'id' => 'title_1',
    55         'table' => 'node',
    56         'field' => 'title',
    57         'relationship' => 'field_estrategico_ente_nid',
    58         'editablefields_allowed' => 0,
    59         'editablefields_responder' => 'inline',
    60         'editablefields_editable' => 'node',
    61       ),
    62       'title' => array(
    63         'label' => 'Título del Proyecto',
    64         'alter' => array(
    65           'alter_text' => 0,
    66           'text' => '',
    67           'make_link' => 0,
    68           'path' => '',
    69           'link_class' => '',
    70           'alt' => '',
    71           'prefix' => '',
    72           'suffix' => '',
    73           'target' => '',
    74           'help' => '',
    75           'trim' => 0,
    76           'max_length' => '',
    77           'word_boundary' => 1,
    78           'ellipsis' => 1,
    79           'html' => 0,
    80           'strip_tags' => 0,
    81         ),
    82         'empty' => '',
    83         'hide_empty' => 0,
    84         'empty_zero' => 0,
    85         'link_to_node' => 0,
    86         'exclude' => 0,
    87         'id' => 'title',
    88         'table' => 'node',
    89         'field' => 'title',
    90         'relationship' => 'none',
    91         'editablefields_allowed' => 0,
    92         'editablefields_responder' => 'inline',
    93         'editablefields_editable' => 'node',
    94       ),
    95       'field_estrategico_cantidad_value' => array(
    96         'label' => 'Cantidad',
    97         'alter' => array(
    98           'alter_text' => 0,
    99           'text' => '',
    100           'make_link' => 0,
    101           'path' => '',
    102           'link_class' => '',
    103           'alt' => '',
    104           'prefix' => '',
    105           'suffix' => '',
    106           'target' => '',
    107           'help' => '',
    108           'trim' => 0,
    109           'max_length' => '',
    110           'word_boundary' => 1,
    111           'ellipsis' => 1,
    112           'html' => 0,
    113           'strip_tags' => 0,
    114         ),
    115         'empty' => '',
    116         'hide_empty' => 0,
    117         'empty_zero' => 0,
    118         'link_to_node' => 0,
    119         'label_type' => 'widget',
    120         'format' => 'default',
    121         'multiple' => array(
    122           'group' => TRUE,
    123           'multiple_number' => '',
    124           'multiple_from' => '',
    125           'multiple_reversed' => FALSE,
    126         ),
    127         'exclude' => 0,
    128         'id' => 'field_estrategico_cantidad_value',
    129         'table' => 'node_data_field_estrategico_cantidad',
    130         'field' => 'field_estrategico_cantidad_value',
    131         'relationship' => 'none',
    132       ),
    133       'field_estrategico_institu_value' => array(
    134         'label' => 'Conexiones Institucionales',
    135         'alter' => array(
    136           'alter_text' => 0,
    137           'text' => '',
    138           'make_link' => 0,
    139           'path' => '',
    140           'link_class' => '',
    141           'alt' => '',
    142           'prefix' => '',
    143           'suffix' => '',
    144           'target' => '',
    145           'help' => '',
    146           'trim' => 0,
    147           'max_length' => '',
    148           'word_boundary' => 1,
    149           'ellipsis' => 1,
    150           'html' => 0,
    151           'strip_tags' => 0,
    152         ),
    153         'empty' => '',
    154         'hide_empty' => 0,
    155         'empty_zero' => 0,
    156         'link_to_node' => 0,
    157         'label_type' => 'widget',
    158         'format' => 'plain',
    159         'multiple' => array(
    160           'group' => 1,
    161           'multiple_number' => '',
    162           'multiple_from' => '',
    163           'multiple_reversed' => 0,
    164         ),
    165         'exclude' => 0,
    166         'id' => 'field_estrategico_institu_value',
    167         'table' => 'node_data_field_estrategico_institu',
    168         'field' => 'field_estrategico_institu_value',
    169         'relationship' => 'none',
    170       ),
    171       'field_estrategico_codigo_value' => array(
    172         'label' => 'Código Interno',
    173         'alter' => array(
    174           'alter_text' => 0,
    175           'text' => '',
    176           'make_link' => 0,
    177           'path' => '',
    178           'link_class' => '',
    179           'alt' => '',
    180           'prefix' => '',
    181           'suffix' => '',
    182           'target' => '',
    183           'help' => '',
    184           'trim' => 0,
    185           'max_length' => '',
    186           'word_boundary' => 1,
    187           'ellipsis' => 1,
    188           'html' => 0,
    189           'strip_tags' => 0,
    190         ),
    191         'empty' => '',
    192         'hide_empty' => 0,
    193         'empty_zero' => 0,
    194         'link_to_node' => 0,
    195         'label_type' => 'widget',
    196         'format' => 'plain',
    197         'multiple' => array(
    198           'group' => TRUE,
    199           'multiple_number' => '',
    200           'multiple_from' => '',
    201           'multiple_reversed' => FALSE,
    202         ),
    203         'exclude' => 0,
    204         'id' => 'field_estrategico_codigo_value',
    205         'table' => 'node_data_field_estrategico_codigo',
    206         'field' => 'field_estrategico_codigo_value',
    207         'relationship' => 'none',
    208       ),
    209       'field_estrategico_necesi_value' => array(
    210         'label' => 'Debilidades o Necesidades',
    211         'alter' => array(
    212           'alter_text' => 0,
    213           'text' => '',
    214           'make_link' => 0,
    215           'path' => '',
    216           'link_class' => '',
    217           'alt' => '',
    218           'prefix' => '',
    219           'suffix' => '',
    220           'target' => '',
    221           'help' => '',
    222           'trim' => 0,
    223           'max_length' => '',
    224           'word_boundary' => 1,
    225           'ellipsis' => 1,
    226           'html' => 0,
    227           'strip_tags' => 0,
    228         ),
    229         'empty' => '',
    230         'hide_empty' => 0,
    231         'empty_zero' => 0,
    232         'link_to_node' => 0,
    233         'label_type' => 'widget',
    234         'format' => 'plain',
    235         'multiple' => array(
    236           'group' => 1,
    237           'multiple_number' => '',
    238           'multiple_from' => '',
    239           'multiple_reversed' => 0,
    240         ),
    241         'exclude' => 0,
    242         'id' => 'field_estrategico_necesi_value',
    243         'table' => 'node_data_field_estrategico_necesi',
    244         'field' => 'field_estrategico_necesi_value',
    245         'relationship' => 'none',
    246       ),
    247       'field_objetivo_indicador_value' => array(
    248         'label' => 'Descripción del indicador',
    249         'alter' => array(
    250           'alter_text' => 0,
    251           'text' => '',
    252           'make_link' => 0,
    253           'path' => '',
    254           'link_class' => '',
    255           'alt' => '',
    256           'prefix' => '',
    257           'suffix' => '',
    258           'target' => '',
    259           'help' => '',
    260           'trim' => 0,
    261           'max_length' => '',
    262           'word_boundary' => 1,
    263           'ellipsis' => 1,
    264           'html' => 0,
    265           'strip_tags' => 0,
    266         ),
    267         'empty' => '',
    268         'hide_empty' => 0,
    269         'empty_zero' => 0,
    270         'link_to_node' => 0,
    271         'label_type' => 'widget',
    272         'format' => 'plain',
    273         'multiple' => array(
    274           'group' => TRUE,
    275           'multiple_number' => '',
    276           'multiple_from' => '',
    277           'multiple_reversed' => FALSE,
    278         ),
    279         'exclude' => 0,
    280         'id' => 'field_objetivo_indicador_value',
    281         'table' => 'node_data_field_objetivo_indicador',
    282         'field' => 'field_objetivo_indicador_value',
    283         'relationship' => 'none',
    284       ),
    285       'field_estrategico_ente_nid' => array(
    286         'label' => 'Ente Planificador',
    287         'alter' => array(
    288           'alter_text' => 0,
    289           'text' => '',
    290           'make_link' => 0,
    291           'path' => '',
    292           'link_class' => '',
    293           'alt' => '',
    294           'prefix' => '',
    295           'suffix' => '',
    296           'target' => '',
    297           'help' => '',
    298           'trim' => 0,
    299           'max_length' => '',
    300           'word_boundary' => 1,
    301           'ellipsis' => 1,
    302           'html' => 0,
    303           'strip_tags' => 0,
    304         ),
    305         'empty' => '',
    306         'hide_empty' => 0,
    307         'empty_zero' => 0,
    308         'link_to_node' => 0,
    309         'label_type' => 'widget',
    310         'format' => 'plain',
    311         'multiple' => array(
    312           'group' => TRUE,
    313           'multiple_number' => '',
    314           'multiple_from' => '',
    315           'multiple_reversed' => FALSE,
    316         ),
    317         'exclude' => 0,
    318         'id' => 'field_estrategico_ente_nid',
    319         'table' => 'node_data_field_estrategico_ente',
    320         'field' => 'field_estrategico_ente_nid',
    321         'relationship' => 'none',
    322       ),
    323       'field_estrategico_ejecucion_value' => array(
    324         'label' => 'Lapso de Ejecución',
    325         'alter' => array(
    326           'alter_text' => 0,
    327           'text' => '',
    328           'make_link' => 0,
    329           'path' => '',
    330           'link_class' => '',
    331           'alt' => '',
    332           'prefix' => '',
    333           'suffix' => '',
    334           'target' => '',
    335           'help' => '',
    336           'trim' => 0,
    337           'max_length' => '',
    338           'word_boundary' => 1,
    339           'ellipsis' => 1,
    340           'html' => 0,
    341           'strip_tags' => 0,
    342         ),
    343         'empty' => '',
    344         'hide_empty' => 0,
    345         'empty_zero' => 0,
    346         'link_to_node' => 0,
    347         'label_type' => 'widget',
    348         'format' => 'default',
    349         'multiple' => array(
    350           'group' => TRUE,
    351           'multiple_number' => '',
    352           'multiple_from' => '',
    353           'multiple_reversed' => FALSE,
    354         ),
    355         'exclude' => 0,
    356         'id' => 'field_estrategico_ejecucion_value',
    357         'table' => 'node_data_field_estrategico_ejecucion',
    358         'field' => 'field_estrategico_ejecucion_value',
    359         'relationship' => 'none',
    360       ),
    361       'field_objetivo_meta_anual_value' => array(
    362         'label' => 'Meta anual',
    363         'alter' => array(
    364           'alter_text' => 0,
    365           'text' => '',
    366           'make_link' => 0,
    367           'path' => '',
    368           'link_class' => '',
    369           'alt' => '',
    370           'prefix' => '',
    371           'suffix' => '',
    372           'target' => '',
    373           'help' => '',
    374           'trim' => 0,
    375           'max_length' => '',
    376           'word_boundary' => 1,
    377           'ellipsis' => 1,
    378           'html' => 0,
    379           'strip_tags' => 0,
    380         ),
    381         'empty' => '',
    382         'hide_empty' => 0,
    383         'empty_zero' => 0,
    384         'link_to_node' => 0,
    385         'label_type' => 'widget',
    386         'format' => 'default',
    387         'multiple' => array(
    388           'group' => 1,
    389           'multiple_number' => '',
    390           'multiple_from' => '',
    391           'multiple_reversed' => 0,
    392         ),
    393         'exclude' => 0,
    394         'id' => 'field_objetivo_meta_anual_value',
    395         'table' => 'node_data_field_objetivo_meta_anual',
    396         'field' => 'field_objetivo_meta_anual_value',
    397         'relationship' => 'none',
    398       ),
    399       'field_objetivo_meta_total_value' => array(
    400         'label' => 'Meta total',
    401         'alter' => array(
    402           'alter_text' => 0,
    403           'text' => '',
    404           'make_link' => 0,
    405           'path' => '',
    406           'link_class' => '',
    407           'alt' => '',
    408           'prefix' => '',
    409           'suffix' => '',
    410           'target' => '',
    411           'help' => '',
    412           'trim' => 0,
    413           'max_length' => '',
    414           'word_boundary' => 1,
    415           'ellipsis' => 1,
    416           'html' => 0,
    417           'strip_tags' => 0,
    418         ),
    419         'empty' => '',
    420         'hide_empty' => 0,
    421         'empty_zero' => 0,
    422         'link_to_node' => 0,
    423         'label_type' => 'widget',
    424         'format' => 'default',
    425         'multiple' => array(
    426           'group' => TRUE,
    427           'multiple_number' => '',
    428           'multiple_from' => '',
    429           'multiple_reversed' => FALSE,
    430         ),
    431         'exclude' => 0,
    432         'id' => 'field_objetivo_meta_total_value',
    433         'table' => 'node_data_field_objetivo_meta_total',
    434         'field' => 'field_objetivo_meta_total_value',
    435         'relationship' => 'none',
    436       ),
    437       'field_estrategico_anual_value' => array(
    438         'label' => 'Monto Anual del Proyecto',
    439         'alter' => array(
    440           'alter_text' => 0,
    441           'text' => '',
    442           'make_link' => 0,
    443           'path' => '',
    444           'link_class' => '',
    445           'alt' => '',
    446           'prefix' => '',
    447           'suffix' => '',
    448           'target' => '',
    449           'help' => '',
    450           'trim' => 0,
    451           'max_length' => '',
    452           'word_boundary' => 1,
    453           'ellipsis' => 1,
    454           'html' => 0,
    455           'strip_tags' => 0,
    456         ),
    457         'empty' => '',
    458         'hide_empty' => 0,
    459         'empty_zero' => 0,
    460         'link_to_node' => 0,
    461         'label_type' => 'widget',
    462         'format' => 'default',
    463         'multiple' => array(
    464           'group' => 1,
    465           'multiple_number' => '',
    466           'multiple_from' => '',
    467           'multiple_reversed' => 0,
    468         ),
    469         'exclude' => 0,
    470         'id' => 'field_estrategico_anual_value',
    471         'table' => 'node_data_field_estrategico_anual',
    472         'field' => 'field_estrategico_anual_value',
    473         'relationship' => 'none',
    474       ),
    475       'field_estrategico_total_value' => array(
    476         'label' => 'Monto Total',
    477         'alter' => array(
    478           'alter_text' => 0,
    479           'text' => '',
    480           'make_link' => 0,
    481           'path' => '',
    482           'link_class' => '',
    483           'alt' => '',
    484           'prefix' => '',
    485           'suffix' => '',
    486           'target' => '',
    487           'help' => '',
    488           'trim' => 0,
    489           'max_length' => '',
    490           'word_boundary' => 1,
    491           'ellipsis' => 1,
    492           'html' => 0,
    493           'strip_tags' => 0,
    494         ),
    495         'empty' => '',
    496         'hide_empty' => 0,
    497         'empty_zero' => 0,
    498         'link_to_node' => 0,
    499         'label_type' => 'widget',
    500         'format' => 'default',
    501         'multiple' => array(
    502           'group' => TRUE,
    503           'multiple_number' => '',
    504           'multiple_from' => '',
    505           'multiple_reversed' => FALSE,
    506         ),
    507         'exclude' => 0,
    508         'id' => 'field_estrategico_total_value',
    509         'table' => 'node_data_field_estrategico_total',
    510         'field' => 'field_estrategico_total_value',
    511         'relationship' => 'none',
    512       ),
    513       'field_estrategico_objetivo_value' => array(
    514         'label' => 'Objetivo del proyecto',
    515         'alter' => array(
    516           'alter_text' => 0,
    517           'text' => '',
    518           'make_link' => 0,
    519           'path' => '',
    520           'link_class' => '',
    521           'alt' => '',
    522           'prefix' => '',
    523           'suffix' => '',
    524           'target' => '',
    525           'help' => '',
    526           'trim' => 0,
    527           'max_length' => '',
    528           'word_boundary' => 1,
    529           'ellipsis' => 1,
    530           'html' => 0,
    531           'strip_tags' => 0,
    532         ),
    533         'empty' => '',
    534         'hide_empty' => 0,
    535         'empty_zero' => 0,
    536         'link_to_node' => 0,
    537         'label_type' => 'widget',
    538         'format' => 'plain',
    539         'multiple' => array(
    540           'group' => TRUE,
    541           'multiple_number' => '',
    542           'multiple_from' => '',
    543           'multiple_reversed' => FALSE,
    544         ),
    545         'exclude' => 0,
    546         'id' => 'field_estrategico_objetivo_value',
    547         'table' => 'node_data_field_estrategico_objetivo',
    548         'field' => 'field_estrategico_objetivo_value',
    549         'relationship' => 'none',
    550       ),
    551       'field_estrategico_poblacion_value' => array(
    552         'label' => 'Población beneficiada',
    553         'alter' => array(
    554           'alter_text' => 0,
    555           'text' => '',
    556           'make_link' => 0,
    557           'path' => '',
    558           'link_class' => '',
    559           'alt' => '',
    560           'prefix' => '',
    561           'suffix' => '',
    562           'target' => '',
    563           'help' => '',
    564           'trim' => 0,
    565           'max_length' => '',
    566           'word_boundary' => 1,
    567           'ellipsis' => 1,
    568           'html' => 0,
    569           'strip_tags' => 0,
    570         ),
    571         'empty' => '',
    572         'hide_empty' => 0,
    573         'empty_zero' => 0,
    574         'link_to_node' => 0,
    575         'label_type' => 'widget',
    576         'format' => 'plain',
    577         'multiple' => array(
    578           'group' => 1,
    579           'multiple_number' => '',
    580           'multiple_from' => '',
    581           'multiple_reversed' => 0,
    582         ),
    583         'exclude' => 0,
    584         'id' => 'field_estrategico_poblacion_value',
    585         'table' => 'node_data_field_estrategico_poblacion',
    586         'field' => 'field_estrategico_poblacion_value',
    587         'relationship' => 'none',
    588       ),
    589       'field_estrategicoopolinspoa_value' => array(
    590         'label' => 'Política Institucional del POA',
    591         'alter' => array(
    592           'alter_text' => 0,
    593           'text' => '',
    594           'make_link' => 0,
    595           'path' => '',
    596           'link_class' => '',
    597           'alt' => '',
    598           'prefix' => '',
    599           'suffix' => '',
    600           'target' => '',
    601           'help' => '',
    602           'trim' => 0,
    603           'max_length' => '',
    604           'word_boundary' => 1,
    605           'ellipsis' => 1,
    606           'html' => 0,
    607           'strip_tags' => 0,
    608         ),
    609         'empty' => '',
    610         'hide_empty' => 0,
    611         'empty_zero' => 0,
    612         'link_to_node' => 0,
    613         'label_type' => 'widget',
    614         'format' => 'plain',
    615         'multiple' => array(
    616           'group' => 1,
    617           'multiple_number' => '',
    618           'multiple_from' => '',
    619           'multiple_reversed' => 0,
    620         ),
    621         'exclude' => 0,
    622         'id' => 'field_estrategicoopolinspoa_value',
    623         'table' => 'node_data_field_estrategicoopolinspoa',
    624         'field' => 'field_estrategicoopolinspoa_value',
    625         'relationship' => 'none',
    626       ),
    627       'field_estrategico_producto_value' => array(
    628         'label' => 'Producto',
    629         'alter' => array(
    630           'alter_text' => 0,
    631           'text' => '',
    632           'make_link' => 0,
    633           'path' => '',
    634           'link_class' => '',
    635           'alt' => '',
    636           'prefix' => '',
    637           'suffix' => '',
    638           'target' => '',
    639           'help' => '',
    640           'trim' => 0,
    641           'max_length' => '',
    642           'word_boundary' => 1,
    643           'ellipsis' => 1,
    644           'html' => 0,
    645           'strip_tags' => 0,
    646         ),
    647         'empty' => '',
    648         'hide_empty' => 0,
    649         'empty_zero' => 0,
    650         'link_to_node' => 0,
    651         'label_type' => 'widget',
    652         'format' => 'plain',
    653         'multiple' => array(
    654           'group' => TRUE,
    655           'multiple_number' => '',
    656           'multiple_from' => '',
    657           'multiple_reversed' => FALSE,
    658         ),
    659         'exclude' => 0,
    660         'id' => 'field_estrategico_producto_value',
    661         'table' => 'node_data_field_estrategico_producto',
    662         'field' => 'field_estrategico_producto_value',
    663         'relationship' => 'none',
    664       ),
    665       'field_estrategico_unidad_value' => array(
    666         'label' => 'Unidad de Medida',
    667         'alter' => array(
    668           'alter_text' => 0,
    669           'text' => '',
    670           'make_link' => 0,
    671           'path' => '',
    672           'link_class' => '',
    673           'alt' => '',
    674           'prefix' => '',
    675           'suffix' => '',
    676           'target' => '',
    677           'help' => '',
    678           'trim' => 0,
    679           'max_length' => '',
    680           'word_boundary' => 1,
    681           'ellipsis' => 1,
    682           'html' => 0,
    683           'strip_tags' => 0,
    684         ),
    685         'empty' => '',
    686         'hide_empty' => 0,
    687         'empty_zero' => 0,
    688         'link_to_node' => 0,
    689         'label_type' => 'widget',
    690         'format' => 'plain',
    691         'multiple' => array(
    692           'group' => TRUE,
    693           'multiple_number' => '',
    694           'multiple_from' => '',
    695           'multiple_reversed' => FALSE,
    696         ),
    697         'exclude' => 0,
    698         'id' => 'field_estrategico_unidad_value',
    699         'table' => 'node_data_field_estrategico_unidad',
    700         'field' => 'field_estrategico_unidad_value',
    701         'relationship' => 'none',
    702       ),
    703     ));
    704     $handler->override_option('sorts', array(
    705       'title' => array(
    706         'order' => 'ASC',
    707         'id' => 'title',
    708         'table' => 'node',
    709         'field' => 'title',
    710         'relationship' => 'field_estrategico_ente_nid',
    711       ),
    712       'title_1' => array(
    713         'order' => 'ASC',
    714         'id' => 'title_1',
    715         'table' => 'node',
    716         'field' => 'title',
    717         'relationship' => 'none',
    718       ),
    719     ));
    720     $handler->override_option('filters', array(
    721       'type' => array(
    722         'operator' => 'in',
    723         'value' => array(
    724           'proyecto_estrategico' => 'proyecto_estrategico',
    725         ),
    726         'group' => '0',
    727         'exposed' => FALSE,
    728         'expose' => array(
    729           'operator' => FALSE,
    730           'label' => '',
    731         ),
    732         'id' => 'type',
    733         'table' => 'node',
    734         'field' => 'type',
    735         'relationship' => 'none',
    736       ),
    737       'title' => array(
    738         'operator' => '=',
    739         'value' => '',
    740         'group' => '0',
    741         'exposed' => TRUE,
    742         'expose' => array(
    743           'use_operator' => 0,
    744           'operator' => 'title_op',
    745           'identifier' => 'title',
    746           'label' => 'Ente planificador',
    747           'optional' => 1,
    748           'remember' => 0,
    749         ),
    750         'case' => 1,
    751         'id' => 'title',
    752         'table' => 'node',
    753         'field' => 'title',
    754         'relationship' => 'field_estrategico_ente_nid',
    755       ),
    756       'title_1' => array(
    757         'operator' => '=',
    758         'value' => '',
    759         'group' => '0',
    760         'exposed' => TRUE,
    761         'expose' => array(
    762           'use_operator' => 0,
    763           'operator' => 'title_1_op',
    764           'identifier' => 'title_1',
    765           'label' => 'Título del proyecto',
    766           'optional' => 1,
    767           'remember' => 0,
    768         ),
    769         'case' => 1,
    770         'id' => 'title_1',
    771         'table' => 'node',
    772         'field' => 'title',
    773         'relationship' => 'none',
    774       ),
    775     ));
    776     $handler->override_option('access', array(
    777       'type' => 'perm',
    778       'perm' => 'admin planificador',
    779     ));
    780     $handler->override_option('cache', array(
    781       'type' => 'none',
    782     ));
    783     $handler->override_option('empty', 'No se encontrarón proyectos');
    784     $handler->override_option('empty_format', '1');
    785     $handler->override_option('style_plugin', 'table');
    786     $handler = $view->new_display('page', 'Página', 'page_1');
    787     $handler->override_option('path', 'reportes/proyecto_estrategico');
    788     $handler->override_option('menu', array(
    789       'type' => 'tab',
    790       'title' => 'Proyecto Estrategico',
    791       'description' => '',
    792       'weight' => '0',
    793       'name' => 'navigation',
    794     ));
    795     $handler->override_option('tab_options', array(
    796       'type' => 'none',
    797       'title' => '',
    798       'description' => '',
    799       'weight' => 0,
    800       'name' => 'navigation',
    801     ));
     37  $view->name = 'proyectos_estrategicos';
     38  $view->description = 'proyecto_estrategico';
     39  $view->tag = '';
     40  $view->view_php = '';
     41  $view->base_table = 'node';
     42  $view->is_cacheable = FALSE;
     43  $view->api_version = 2;
     44  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
     45  $handler = $view->new_display('default', 'Defaults', 'default');
     46  $handler->override_option('relationships', array(
     47    'field_estrategico_ente_nid' => array(
     48      'label' => 'Ente Planificador',
     49      'required' => 1,
     50      'delta' => -1,
     51      'id' => 'field_estrategico_ente_nid',
     52      'table' => 'node_data_field_estrategico_ente',
     53      'field' => 'field_estrategico_ente_nid',
     54      'relationship' => 'none',
     55    ),
     56  ));
     57  $handler->override_option('fields', array(
     58    'title_1' => array(
     59      'label' => 'Ente Planificador',
     60      'alter' => array(
     61        'alter_text' => 0,
     62        'text' => '',
     63        'make_link' => 0,
     64        'path' => '',
     65        'link_class' => '',
     66        'alt' => '',
     67        'prefix' => '',
     68        'suffix' => '',
     69        'target' => '',
     70        'help' => '',
     71        'trim' => 0,
     72        'max_length' => '',
     73        'word_boundary' => 1,
     74        'ellipsis' => 1,
     75        'html' => 0,
     76        'strip_tags' => 0,
     77      ),
     78      'empty' => '',
     79      'hide_empty' => 0,
     80      'empty_zero' => 0,
     81      'link_to_node' => 0,
     82      'exclude' => 0,
     83      'id' => 'title_1',
     84      'table' => 'node',
     85      'field' => 'title',
     86      'relationship' => 'field_estrategico_ente_nid',
     87      'editablefields_allowed' => 0,
     88      'editablefields_responder' => 'inline',
     89      'editablefields_editable' => 'node',
     90    ),
     91    'title' => array(
     92      'label' => 'Título del Proyecto',
     93      'alter' => array(
     94        'alter_text' => 0,
     95        'text' => '',
     96        'make_link' => 0,
     97        'path' => '',
     98        'link_class' => '',
     99        'alt' => '',
     100        'prefix' => '',
     101        'suffix' => '',
     102        'target' => '',
     103        'help' => '',
     104        'trim' => 0,
     105        'max_length' => '',
     106        'word_boundary' => 1,
     107        'ellipsis' => 1,
     108        'html' => 0,
     109        'strip_tags' => 0,
     110      ),
     111      'empty' => '',
     112      'hide_empty' => 0,
     113      'empty_zero' => 0,
     114      'link_to_node' => 0,
     115      'exclude' => 0,
     116      'id' => 'title',
     117      'table' => 'node',
     118      'field' => 'title',
     119      'relationship' => 'none',
     120      'editablefields_allowed' => 0,
     121      'editablefields_responder' => 'inline',
     122      'editablefields_editable' => 'node',
     123    ),
     124    'field_estrategico_cantidad_value' => array(
     125      'label' => 'Cantidad',
     126      'alter' => array(
     127        'alter_text' => 0,
     128        'text' => '',
     129        'make_link' => 0,
     130        'path' => '',
     131        'link_class' => '',
     132        'alt' => '',
     133        'prefix' => '',
     134        'suffix' => '',
     135        'target' => '',
     136        'help' => '',
     137        'trim' => 0,
     138        'max_length' => '',
     139        'word_boundary' => 1,
     140        'ellipsis' => 1,
     141        'html' => 0,
     142        'strip_tags' => 0,
     143      ),
     144      'empty' => '',
     145      'hide_empty' => 0,
     146      'empty_zero' => 0,
     147      'link_to_node' => 0,
     148      'label_type' => 'widget',
     149      'format' => 'default',
     150      'multiple' => array(
     151        'group' => TRUE,
     152        'multiple_number' => '',
     153        'multiple_from' => '',
     154        'multiple_reversed' => FALSE,
     155      ),
     156      'exclude' => 0,
     157      'id' => 'field_estrategico_cantidad_value',
     158      'table' => 'node_data_field_estrategico_cantidad',
     159      'field' => 'field_estrategico_cantidad_value',
     160      'relationship' => 'none',
     161    ),
     162    'field_estrategico_institu_value' => array(
     163      'label' => 'Conexiones Institucionales',
     164      'alter' => array(
     165        'alter_text' => 0,
     166        'text' => '',
     167        'make_link' => 0,
     168        'path' => '',
     169        'link_class' => '',
     170        'alt' => '',
     171        'prefix' => '',
     172        'suffix' => '',
     173        'target' => '',
     174        'help' => '',
     175        'trim' => 0,
     176        'max_length' => '',
     177        'word_boundary' => 1,
     178        'ellipsis' => 1,
     179        'html' => 0,
     180        'strip_tags' => 0,
     181      ),
     182      'empty' => '',
     183      'hide_empty' => 0,
     184      'empty_zero' => 0,
     185      'link_to_node' => 0,
     186      'label_type' => 'widget',
     187      'format' => 'plain',
     188      'multiple' => array(
     189        'group' => 1,
     190        'multiple_number' => '',
     191        'multiple_from' => '',
     192        'multiple_reversed' => 0,
     193      ),
     194      'exclude' => 0,
     195      'id' => 'field_estrategico_institu_value',
     196      'table' => 'node_data_field_estrategico_institu',
     197      'field' => 'field_estrategico_institu_value',
     198      'relationship' => 'none',
     199    ),
     200    'field_estrategico_codigo_value' => array(
     201      'label' => 'Código Interno',
     202      'alter' => array(
     203        'alter_text' => 0,
     204        'text' => '',
     205        'make_link' => 0,
     206        'path' => '',
     207        'link_class' => '',
     208        'alt' => '',
     209        'prefix' => '',
     210        'suffix' => '',
     211        'target' => '',
     212        'help' => '',
     213        'trim' => 0,
     214        'max_length' => '',
     215        'word_boundary' => 1,
     216        'ellipsis' => 1,
     217        'html' => 0,
     218        'strip_tags' => 0,
     219      ),
     220      'empty' => '',
     221      'hide_empty' => 0,
     222      'empty_zero' => 0,
     223      'link_to_node' => 0,
     224      'label_type' => 'widget',
     225      'format' => 'plain',
     226      'multiple' => array(
     227        'group' => TRUE,
     228        'multiple_number' => '',
     229        'multiple_from' => '',
     230        'multiple_reversed' => FALSE,
     231      ),
     232      'exclude' => 0,
     233      'id' => 'field_estrategico_codigo_value',
     234      'table' => 'node_data_field_estrategico_codigo',
     235      'field' => 'field_estrategico_codigo_value',
     236      'relationship' => 'none',
     237    ),
     238    'field_estrategico_necesi_value' => array(
     239      'label' => 'Debilidades o Necesidades',
     240      'alter' => array(
     241        'alter_text' => 0,
     242        'text' => '',
     243        'make_link' => 0,
     244        'path' => '',
     245        'link_class' => '',
     246        'alt' => '',
     247        'prefix' => '',
     248        'suffix' => '',
     249        'target' => '',
     250        'help' => '',
     251        'trim' => 0,
     252        'max_length' => '',
     253        'word_boundary' => 1,
     254        'ellipsis' => 1,
     255        'html' => 0,
     256        'strip_tags' => 0,
     257      ),
     258      'empty' => '',
     259      'hide_empty' => 0,
     260      'empty_zero' => 0,
     261      'link_to_node' => 0,
     262      'label_type' => 'widget',
     263      'format' => 'plain',
     264      'multiple' => array(
     265        'group' => 1,
     266        'multiple_number' => '',
     267        'multiple_from' => '',
     268        'multiple_reversed' => 0,
     269      ),
     270      'exclude' => 0,
     271      'id' => 'field_estrategico_necesi_value',
     272      'table' => 'node_data_field_estrategico_necesi',
     273      'field' => 'field_estrategico_necesi_value',
     274      'relationship' => 'none',
     275    ),
     276    'field_objetivo_indicador_value' => array(
     277      'label' => 'Descripción del indicador',
     278      'alter' => array(
     279        'alter_text' => 0,
     280        'text' => '',
     281        'make_link' => 0,
     282        'path' => '',
     283        'link_class' => '',
     284        'alt' => '',
     285        'prefix' => '',
     286        'suffix' => '',
     287        'target' => '',
     288        'help' => '',
     289        'trim' => 0,
     290        'max_length' => '',
     291        'word_boundary' => 1,
     292        'ellipsis' => 1,
     293        'html' => 0,
     294        'strip_tags' => 0,
     295      ),
     296      'empty' => '',
     297      'hide_empty' => 0,
     298      'empty_zero' => 0,
     299      'link_to_node' => 0,
     300      'label_type' => 'widget',
     301      'format' => 'plain',
     302      'multiple' => array(
     303        'group' => TRUE,
     304        'multiple_number' => '',
     305        'multiple_from' => '',
     306        'multiple_reversed' => FALSE,
     307      ),
     308      'exclude' => 0,
     309      'id' => 'field_objetivo_indicador_value',
     310      'table' => 'node_data_field_objetivo_indicador',
     311      'field' => 'field_objetivo_indicador_value',
     312      'relationship' => 'none',
     313    ),
     314    'field_estrategico_ente_nid' => array(
     315      'label' => 'Ente Planificador',
     316      'alter' => array(
     317        'alter_text' => 0,
     318        'text' => '',
     319        'make_link' => 0,
     320        'path' => '',
     321        'link_class' => '',
     322        'alt' => '',
     323        'prefix' => '',
     324        'suffix' => '',
     325        'target' => '',
     326        'help' => '',
     327        'trim' => 0,
     328        'max_length' => '',
     329        'word_boundary' => 1,
     330        'ellipsis' => 1,
     331        'html' => 0,
     332        'strip_tags' => 0,
     333      ),
     334      'empty' => '',
     335      'hide_empty' => 0,
     336      'empty_zero' => 0,
     337      'link_to_node' => 0,
     338      'label_type' => 'widget',
     339      'format' => 'plain',
     340      'multiple' => array(
     341        'group' => TRUE,
     342        'multiple_number' => '',
     343        'multiple_from' => '',
     344        'multiple_reversed' => FALSE,
     345      ),
     346      'exclude' => 0,
     347      'id' => 'field_estrategico_ente_nid',
     348      'table' => 'node_data_field_estrategico_ente',
     349      'field' => 'field_estrategico_ente_nid',
     350      'relationship' => 'none',
     351    ),
     352    'field_estrategico_ejecucion_value' => array(
     353      'label' => 'Lapso de Ejecución',
     354      'alter' => array(
     355        'alter_text' => 0,
     356        'text' => '',
     357        'make_link' => 0,
     358        'path' => '',
     359        'link_class' => '',
     360        'alt' => '',
     361        'prefix' => '',
     362        'suffix' => '',
     363        'target' => '',
     364        'help' => '',
     365        'trim' => 0,
     366        'max_length' => '',
     367        'word_boundary' => 1,
     368        'ellipsis' => 1,
     369        'html' => 0,
     370        'strip_tags' => 0,
     371      ),
     372      'empty' => '',
     373      'hide_empty' => 0,
     374      'empty_zero' => 0,
     375      'link_to_node' => 0,
     376      'label_type' => 'widget',
     377      'format' => 'default',
     378      'multiple' => array(
     379        'group' => TRUE,
     380        'multiple_number' => '',
     381        'multiple_from' => '',
     382        'multiple_reversed' => FALSE,
     383      ),
     384      'exclude' => 0,
     385      'id' => 'field_estrategico_ejecucion_value',
     386      'table' => 'node_data_field_estrategico_ejecucion',
     387      'field' => 'field_estrategico_ejecucion_value',
     388      'relationship' => 'none',
     389    ),
     390    'field_objetivo_meta_anual_value' => array(
     391      'label' => 'Meta anual',
     392      'alter' => array(
     393        'alter_text' => 0,
     394        'text' => '',
     395        'make_link' => 0,
     396        'path' => '',
     397        'link_class' => '',
     398        'alt' => '',
     399        'prefix' => '',
     400        'suffix' => '',
     401        'target' => '',
     402        'help' => '',
     403        'trim' => 0,
     404        'max_length' => '',
     405        'word_boundary' => 1,
     406        'ellipsis' => 1,
     407        'html' => 0,
     408        'strip_tags' => 0,
     409      ),
     410      'empty' => '',
     411      'hide_empty' => 0,
     412      'empty_zero' => 0,
     413      'link_to_node' => 0,
     414      'label_type' => 'widget',
     415      'format' => 'default',
     416      'multiple' => array(
     417        'group' => 1,
     418        'multiple_number' => '',
     419        'multiple_from' => '',
     420        'multiple_reversed' => 0,
     421      ),
     422      'exclude' => 0,
     423      'id' => 'field_objetivo_meta_anual_value',
     424      'table' => 'node_data_field_objetivo_meta_anual',
     425      'field' => 'field_objetivo_meta_anual_value',
     426      'relationship' => 'none',
     427    ),
     428    'field_objetivo_meta_total_value' => array(
     429      'label' => 'Meta total',
     430      'alter' => array(
     431        'alter_text' => 0,
     432        'text' => '',
     433        'make_link' => 0,
     434        'path' => '',
     435        'link_class' => '',
     436        'alt' => '',
     437        'prefix' => '',
     438        'suffix' => '',
     439        'target' => '',
     440        'help' => '',
     441        'trim' => 0,
     442        'max_length' => '',
     443        'word_boundary' => 1,
     444        'ellipsis' => 1,
     445        'html' => 0,
     446        'strip_tags' => 0,
     447      ),
     448      'empty' => '',
     449      'hide_empty' => 0,
     450      'empty_zero' => 0,
     451      'link_to_node' => 0,
     452      'label_type' => 'widget',
     453      'format' => 'default',
     454      'multiple' => array(
     455        'group' => TRUE,
     456        'multiple_number' => '',
     457        'multiple_from' => '',
     458        'multiple_reversed' => FALSE,
     459      ),
     460      'exclude' => 0,
     461      'id' => 'field_objetivo_meta_total_value',
     462      'table' => 'node_data_field_objetivo_meta_total',
     463      'field' => 'field_objetivo_meta_total_value',
     464      'relationship' => 'none',
     465    ),
     466    'field_estrategico_anual_value' => array(
     467      'label' => 'Monto Anual del Proyecto',
     468      'alter' => array(
     469        'alter_text' => 0,
     470        'text' => '',
     471        'make_link' => 0,
     472        'path' => '',
     473        'link_class' => '',
     474        'alt' => '',
     475        'prefix' => '',
     476        'suffix' => '',
     477        'target' => '',
     478        'help' => '',
     479        'trim' => 0,
     480        'max_length' => '',
     481        'word_boundary' => 1,
     482        'ellipsis' => 1,
     483        'html' => 0,
     484        'strip_tags' => 0,
     485      ),
     486      'empty' => '',
     487      'hide_empty' => 0,
     488      'empty_zero' => 0,
     489      'link_to_node' => 0,
     490      'label_type' => 'widget',
     491      'format' => 'default',
     492      'multiple' => array(
     493        'group' => 1,
     494        'multiple_number' => '',
     495        'multiple_from' => '',
     496        'multiple_reversed' => 0,
     497      ),
     498      'exclude' => 0,
     499      'id' => 'field_estrategico_anual_value',
     500      'table' => 'node_data_field_estrategico_anual',
     501      'field' => 'field_estrategico_anual_value',
     502      'relationship' => 'none',
     503    ),
     504    'field_estrategico_total_value' => array(
     505      'label' => 'Monto Total',
     506      'alter' => array(
     507        'alter_text' => 0,
     508        'text' => '',
     509        'make_link' => 0,
     510        'path' => '',
     511        'link_class' => '',
     512        'alt' => '',
     513        'prefix' => '',
     514        'suffix' => '',
     515        'target' => '',
     516        'help' => '',
     517        'trim' => 0,
     518        'max_length' => '',
     519        'word_boundary' => 1,
     520        'ellipsis' => 1,
     521        'html' => 0,
     522        'strip_tags' => 0,
     523      ),
     524      'empty' => '',
     525      'hide_empty' => 0,
     526      'empty_zero' => 0,
     527      'link_to_node' => 0,
     528      'label_type' => 'widget',
     529      'format' => 'default',
     530      'multiple' => array(
     531        'group' => TRUE,
     532        'multiple_number' => '',
     533        'multiple_from' => '',
     534        'multiple_reversed' => FALSE,
     535      ),
     536      'exclude' => 0,
     537      'id' => 'field_estrategico_total_value',
     538      'table' => 'node_data_field_estrategico_total',
     539      'field' => 'field_estrategico_total_value',
     540      'relationship' => 'none',
     541    ),
     542    'field_estrategico_objetivo_value' => array(
     543      'label' => 'Objetivo del proyecto',
     544      'alter' => array(
     545        'alter_text' => 0,
     546        'text' => '',
     547        'make_link' => 0,
     548        'path' => '',
     549        'link_class' => '',
     550        'alt' => '',
     551        'prefix' => '',
     552        'suffix' => '',
     553        'target' => '',
     554        'help' => '',
     555        'trim' => 0,
     556        'max_length' => '',
     557        'word_boundary' => 1,
     558        'ellipsis' => 1,
     559        'html' => 0,
     560        'strip_tags' => 0,
     561      ),
     562      'empty' => '',
     563      'hide_empty' => 0,
     564      'empty_zero' => 0,
     565      'link_to_node' => 0,
     566      'label_type' => 'widget',
     567      'format' => 'plain',
     568      'multiple' => array(
     569        'group' => TRUE,
     570        'multiple_number' => '',
     571        'multiple_from' => '',
     572        'multiple_reversed' => FALSE,
     573      ),
     574      'exclude' => 0,
     575      'id' => 'field_estrategico_objetivo_value',
     576      'table' => 'node_data_field_estrategico_objetivo',
     577      'field' => 'field_estrategico_objetivo_value',
     578      'relationship' => 'none',
     579    ),
     580    'field_estrategico_poblacion_value' => array(
     581      'label' => 'Población beneficiada',
     582      'alter' => array(
     583        'alter_text' => 0,
     584        'text' => '',
     585        'make_link' => 0,
     586        'path' => '',
     587        'link_class' => '',
     588        'alt' => '',
     589        'prefix' => '',
     590        'suffix' => '',
     591        'target' => '',
     592        'help' => '',
     593        'trim' => 0,
     594        'max_length' => '',
     595        'word_boundary' => 1,
     596        'ellipsis' => 1,
     597        'html' => 0,
     598        'strip_tags' => 0,
     599      ),
     600      'empty' => '',
     601      'hide_empty' => 0,
     602      'empty_zero' => 0,
     603      'link_to_node' => 0,
     604      'label_type' => 'widget',
     605      'format' => 'plain',
     606      'multiple' => array(
     607        'group' => 1,
     608        'multiple_number' => '',
     609        'multiple_from' => '',
     610        'multiple_reversed' => 0,
     611      ),
     612      'exclude' => 0,
     613      'id' => 'field_estrategico_poblacion_value',
     614      'table' => 'node_data_field_estrategico_poblacion',
     615      'field' => 'field_estrategico_poblacion_value',
     616      'relationship' => 'none',
     617    ),
     618    'field_estrategicoopolinspoa_value' => array(
     619      'label' => 'Política Institucional del POA',
     620      'alter' => array(
     621        'alter_text' => 0,
     622        'text' => '',
     623        'make_link' => 0,
     624        'path' => '',
     625        'link_class' => '',
     626        'alt' => '',
     627        'prefix' => '',
     628        'suffix' => '',
     629        'target' => '',
     630        'help' => '',
     631        'trim' => 0,
     632        'max_length' => '',
     633        'word_boundary' => 1,
     634        'ellipsis' => 1,
     635        'html' => 0,
     636        'strip_tags' => 0,
     637      ),
     638      'empty' => '',
     639      'hide_empty' => 0,
     640      'empty_zero' => 0,
     641      'link_to_node' => 0,
     642      'label_type' => 'widget',
     643      'format' => 'plain',
     644      'multiple' => array(
     645        'group' => 1,
     646        'multiple_number' => '',
     647        'multiple_from' => '',
     648        'multiple_reversed' => 0,
     649      ),
     650      'exclude' => 0,
     651      'id' => 'field_estrategicoopolinspoa_value',
     652      'table' => 'node_data_field_estrategicoopolinspoa',
     653      'field' => 'field_estrategicoopolinspoa_value',
     654      'relationship' => 'none',
     655    ),
     656    'field_estrategico_producto_value' => array(
     657      'label' => 'Producto',
     658      'alter' => array(
     659        'alter_text' => 0,
     660        'text' => '',
     661        'make_link' => 0,
     662        'path' => '',
     663        'link_class' => '',
     664        'alt' => '',
     665        'prefix' => '',
     666        'suffix' => '',
     667        'target' => '',
     668        'help' => '',
     669        'trim' => 0,
     670        'max_length' => '',
     671        'word_boundary' => 1,
     672        'ellipsis' => 1,
     673        'html' => 0,
     674        'strip_tags' => 0,
     675      ),
     676      'empty' => '',
     677      'hide_empty' => 0,
     678      'empty_zero' => 0,
     679      'link_to_node' => 0,
     680      'label_type' => 'widget',
     681      'format' => 'plain',
     682      'multiple' => array(
     683        'group' => TRUE,
     684        'multiple_number' => '',
     685        'multiple_from' => '',
     686        'multiple_reversed' => FALSE,
     687      ),
     688      'exclude' => 0,
     689      'id' => 'field_estrategico_producto_value',
     690      'table' => 'node_data_field_estrategico_producto',
     691      'field' => 'field_estrategico_producto_value',
     692      'relationship' => 'none',
     693    ),
     694    'field_estrategico_unidad_value' => array(
     695      'label' => 'Unidad de Medida',
     696      'alter' => array(
     697        'alter_text' => 0,
     698        'text' => '',
     699        'make_link' => 0,
     700        'path' => '',
     701        'link_class' => '',
     702        'alt' => '',
     703        'prefix' => '',
     704        'suffix' => '',
     705        'target' => '',
     706        'help' => '',
     707        'trim' => 0,
     708        'max_length' => '',
     709        'word_boundary' => 1,
     710        'ellipsis' => 1,
     711        'html' => 0,
     712        'strip_tags' => 0,
     713      ),
     714      'empty' => '',
     715      'hide_empty' => 0,
     716      'empty_zero' => 0,
     717      'link_to_node' => 0,
     718      'label_type' => 'widget',
     719      'format' => 'plain',
     720      'multiple' => array(
     721        'group' => TRUE,
     722        'multiple_number' => '',
     723        'multiple_from' => '',
     724        'multiple_reversed' => FALSE,
     725      ),
     726      'exclude' => 0,
     727      'id' => 'field_estrategico_unidad_value',
     728      'table' => 'node_data_field_estrategico_unidad',
     729      'field' => 'field_estrategico_unidad_value',
     730      'relationship' => 'none',
     731    ),
     732  ));
     733  $handler->override_option('sorts', array(
     734    'title' => array(
     735      'order' => 'ASC',
     736      'id' => 'title',
     737      'table' => 'node',
     738      'field' => 'title',
     739      'relationship' => 'field_estrategico_ente_nid',
     740    ),
     741    'title_1' => array(
     742      'order' => 'ASC',
     743      'id' => 'title_1',
     744      'table' => 'node',
     745      'field' => 'title',
     746      'relationship' => 'none',
     747    ),
     748  ));
     749  $handler->override_option('filters', array(
     750    'type' => array(
     751      'operator' => 'in',
     752      'value' => array(
     753        'proyecto_estrategico' => 'proyecto_estrategico',
     754      ),
     755      'group' => '0',
     756      'exposed' => FALSE,
     757      'expose' => array(
     758        'operator' => FALSE,
     759        'label' => '',
     760      ),
     761      'id' => 'type',
     762      'table' => 'node',
     763      'field' => 'type',
     764      'relationship' => 'none',
     765    ),
     766    'title' => array(
     767      'operator' => '=',
     768      'value' => '',
     769      'group' => '0',
     770      'exposed' => TRUE,
     771      'expose' => array(
     772        'use_operator' => 0,
     773        'operator' => 'title_op',
     774        'identifier' => 'title',
     775        'label' => 'Ente planificador',
     776        'optional' => 1,
     777        'remember' => 0,
     778      ),
     779      'case' => 1,
     780      'id' => 'title',
     781      'table' => 'node',
     782      'field' => 'title',
     783      'relationship' => 'field_estrategico_ente_nid',
     784    ),
     785    'title_1' => array(
     786      'operator' => '=',
     787      'value' => '',
     788      'group' => '0',
     789      'exposed' => TRUE,
     790      'expose' => array(
     791        'use_operator' => 0,
     792        'operator' => 'title_1_op',
     793        'identifier' => 'title_1',
     794        'label' => 'Título del proyecto',
     795        'optional' => 1,
     796        'remember' => 0,
     797      ),
     798      'case' => 1,
     799      'id' => 'title_1',
     800      'table' => 'node',
     801      'field' => 'title',
     802      'relationship' => 'none',
     803    ),
     804  ));
     805  $handler->override_option('access', array(
     806    'type' => 'perm',
     807    'perm' => 'admin planificador',
     808  ));
     809  $handler->override_option('cache', array(
     810    'type' => 'none',
     811  ));
     812  $handler->override_option('empty', 'No se encontrarón proyectos');
     813  $handler->override_option('empty_format', '1');
     814  $handler->override_option('style_plugin', 'table');
     815  $handler = $view->new_display('page', 'Página', 'page_1');
     816  $handler->override_option('path', 'reportes/proyecto_estrategico');
     817  $handler->override_option('menu', array(
     818    'type' => 'tab',
     819    'title' => 'Proyecto Estrategico',
     820    'description' => '',
     821    'weight' => '0',
     822    'name' => 'navigation',
     823  ));
     824  $handler->override_option('tab_options', array(
     825    'type' => 'none',
     826    'title' => '',
     827    'description' => '',
     828    'weight' => 0,
     829    'name' => 'navigation',
     830  ));
     831  $views[$view->name] = $view;
    802832  return $views;
    803833}
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.