1 | <?php |
---|
2 | /** |
---|
3 | * Sistema Integral de Planificación y Presupuesto (SIPP) |
---|
4 | * @file reportes_sipp.module |
---|
5 | * Drupal part Module to Sistema Integral de Planificación y Presupuesto (SIPP) |
---|
6 | * Copyright 2013 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL) |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or modify |
---|
9 | * it under the terms of the GNU General Public License as published by |
---|
10 | * the Free Software Foundation; either version 2 of the License, or |
---|
11 | * (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
21 | * |
---|
22 | * @author Cenditel Merida - Ing. Diego Uzcátegui |
---|
23 | * @date 2013-05-01 // (año-mes-dia) |
---|
24 | * @version 0.1 // (0.1) |
---|
25 | * |
---|
26 | */ |
---|
27 | |
---|
28 | /** |
---|
29 | * Implementation of hook_views_default_views(). |
---|
30 | */ |
---|
31 | function reportes_sipp_views_default_views() { |
---|
32 | |
---|
33 | $view = new view; |
---|
34 | $view->name = 'consulta_de_proyectos_operativos'; |
---|
35 | $view->description = 'consulta de proyectos operativos sipp'; |
---|
36 | $view->tag = ''; |
---|
37 | $view->view_php = ''; |
---|
38 | $view->base_table = 'node'; |
---|
39 | $view->is_cacheable = FALSE; |
---|
40 | $view->api_version = 2; |
---|
41 | $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
---|
42 | $handler = $view->new_display('default', 'Defaults', 'default'); |
---|
43 | $handler->override_option('fields', array( |
---|
44 | 'nid' => array( |
---|
45 | 'label' => 'Nid', |
---|
46 | 'alter' => array( |
---|
47 | 'alter_text' => 0, |
---|
48 | 'text' => '', |
---|
49 | 'make_link' => 0, |
---|
50 | 'path' => '', |
---|
51 | 'link_class' => '', |
---|
52 | 'alt' => '', |
---|
53 | 'prefix' => '', |
---|
54 | 'suffix' => '', |
---|
55 | 'target' => '', |
---|
56 | 'help' => '', |
---|
57 | 'trim' => 0, |
---|
58 | 'max_length' => '', |
---|
59 | 'word_boundary' => 1, |
---|
60 | 'ellipsis' => 1, |
---|
61 | 'html' => 0, |
---|
62 | 'strip_tags' => 0, |
---|
63 | ), |
---|
64 | 'empty' => '', |
---|
65 | 'hide_empty' => 0, |
---|
66 | 'empty_zero' => 0, |
---|
67 | 'link_to_node' => 0, |
---|
68 | 'exclude' => 1, |
---|
69 | 'id' => 'nid', |
---|
70 | 'table' => 'node', |
---|
71 | 'field' => 'nid', |
---|
72 | 'override' => array( |
---|
73 | 'button' => 'Override', |
---|
74 | ), |
---|
75 | 'relationship' => 'none', |
---|
76 | ), |
---|
77 | 'title' => array( |
---|
78 | 'label' => 'Nombre del proyecto', |
---|
79 | 'alter' => array( |
---|
80 | 'alter_text' => 0, |
---|
81 | 'text' => '', |
---|
82 | 'make_link' => 1, |
---|
83 | 'path' => 'proyectosop/[nid]', |
---|
84 | 'link_class' => '', |
---|
85 | 'alt' => '', |
---|
86 | 'prefix' => '', |
---|
87 | 'suffix' => '', |
---|
88 | 'target' => '', |
---|
89 | 'help' => '', |
---|
90 | 'trim' => 0, |
---|
91 | 'max_length' => '', |
---|
92 | 'word_boundary' => 1, |
---|
93 | 'ellipsis' => 1, |
---|
94 | 'html' => 0, |
---|
95 | 'strip_tags' => 0, |
---|
96 | ), |
---|
97 | 'empty' => '', |
---|
98 | 'hide_empty' => 0, |
---|
99 | 'empty_zero' => 0, |
---|
100 | 'link_to_node' => 0, |
---|
101 | 'exclude' => 0, |
---|
102 | 'id' => 'title', |
---|
103 | 'table' => 'node', |
---|
104 | 'field' => 'title', |
---|
105 | 'override' => array( |
---|
106 | 'button' => 'Override', |
---|
107 | ), |
---|
108 | 'relationship' => 'none', |
---|
109 | ), |
---|
110 | 'field_proyecto_codigo_value' => array( |
---|
111 | 'label' => 'Código', |
---|
112 | 'alter' => array( |
---|
113 | 'alter_text' => 0, |
---|
114 | 'text' => '', |
---|
115 | 'make_link' => 0, |
---|
116 | 'path' => '', |
---|
117 | 'link_class' => '', |
---|
118 | 'alt' => '', |
---|
119 | 'prefix' => '', |
---|
120 | 'suffix' => '', |
---|
121 | 'target' => '', |
---|
122 | 'help' => '', |
---|
123 | 'trim' => 0, |
---|
124 | 'max_length' => '', |
---|
125 | 'word_boundary' => 1, |
---|
126 | 'ellipsis' => 1, |
---|
127 | 'html' => 0, |
---|
128 | 'strip_tags' => 0, |
---|
129 | ), |
---|
130 | 'empty' => '', |
---|
131 | 'hide_empty' => 0, |
---|
132 | 'empty_zero' => 0, |
---|
133 | 'link_to_node' => 0, |
---|
134 | 'label_type' => 'custom', |
---|
135 | 'format' => 'default', |
---|
136 | 'multiple' => array( |
---|
137 | 'group' => TRUE, |
---|
138 | 'multiple_number' => '', |
---|
139 | 'multiple_from' => '', |
---|
140 | 'multiple_reversed' => FALSE, |
---|
141 | ), |
---|
142 | 'exclude' => 0, |
---|
143 | 'id' => 'field_proyecto_codigo_value', |
---|
144 | 'table' => 'node_data_field_proyecto_codigo', |
---|
145 | 'field' => 'field_proyecto_codigo_value', |
---|
146 | 'relationship' => 'none', |
---|
147 | ), |
---|
148 | 'field_proyecto_fecha_i_value' => array( |
---|
149 | 'label' => 'Fecha de Inicio', |
---|
150 | 'alter' => array( |
---|
151 | 'alter_text' => 0, |
---|
152 | 'text' => '', |
---|
153 | 'make_link' => 0, |
---|
154 | 'path' => '', |
---|
155 | 'link_class' => '', |
---|
156 | 'alt' => '', |
---|
157 | 'prefix' => '', |
---|
158 | 'suffix' => '', |
---|
159 | 'target' => '', |
---|
160 | 'help' => '', |
---|
161 | 'trim' => 0, |
---|
162 | 'max_length' => '', |
---|
163 | 'word_boundary' => 1, |
---|
164 | 'ellipsis' => 1, |
---|
165 | 'html' => 0, |
---|
166 | 'strip_tags' => 0, |
---|
167 | ), |
---|
168 | 'empty' => '', |
---|
169 | 'hide_empty' => 0, |
---|
170 | 'empty_zero' => 0, |
---|
171 | 'link_to_node' => 0, |
---|
172 | 'label_type' => 'widget', |
---|
173 | 'format' => 'default', |
---|
174 | 'multiple' => array( |
---|
175 | 'multiple_number' => '', |
---|
176 | 'multiple_from' => '', |
---|
177 | 'multiple_to' => '', |
---|
178 | 'group' => TRUE, |
---|
179 | ), |
---|
180 | 'repeat' => array( |
---|
181 | 'show_repeat_rule' => '', |
---|
182 | ), |
---|
183 | 'fromto' => array( |
---|
184 | 'fromto' => 'both', |
---|
185 | ), |
---|
186 | 'exclude' => 0, |
---|
187 | 'id' => 'field_proyecto_fecha_i_value', |
---|
188 | 'table' => 'node_data_field_proyecto_fecha_i', |
---|
189 | 'field' => 'field_proyecto_fecha_i_value', |
---|
190 | 'relationship' => 'none', |
---|
191 | ), |
---|
192 | 'field_proyecto_fecha_f_value' => array( |
---|
193 | 'label' => 'Fecha de Culminación', |
---|
194 | 'alter' => array( |
---|
195 | 'alter_text' => 0, |
---|
196 | 'text' => '', |
---|
197 | 'make_link' => 0, |
---|
198 | 'path' => '', |
---|
199 | 'link_class' => '', |
---|
200 | 'alt' => '', |
---|
201 | 'prefix' => '', |
---|
202 | 'suffix' => '', |
---|
203 | 'target' => '', |
---|
204 | 'help' => '', |
---|
205 | 'trim' => 0, |
---|
206 | 'max_length' => '', |
---|
207 | 'word_boundary' => 1, |
---|
208 | 'ellipsis' => 1, |
---|
209 | 'html' => 0, |
---|
210 | 'strip_tags' => 0, |
---|
211 | ), |
---|
212 | 'empty' => '', |
---|
213 | 'hide_empty' => 0, |
---|
214 | 'empty_zero' => 0, |
---|
215 | 'link_to_node' => 0, |
---|
216 | 'label_type' => 'widget', |
---|
217 | 'format' => 'default', |
---|
218 | 'multiple' => array( |
---|
219 | 'multiple_number' => '', |
---|
220 | 'multiple_from' => '', |
---|
221 | 'multiple_to' => '', |
---|
222 | 'group' => TRUE, |
---|
223 | ), |
---|
224 | 'repeat' => array( |
---|
225 | 'show_repeat_rule' => '', |
---|
226 | ), |
---|
227 | 'fromto' => array( |
---|
228 | 'fromto' => 'both', |
---|
229 | ), |
---|
230 | 'exclude' => 0, |
---|
231 | 'id' => 'field_proyecto_fecha_f_value', |
---|
232 | 'table' => 'node_data_field_proyecto_fecha_f', |
---|
233 | 'field' => 'field_proyecto_fecha_f_value', |
---|
234 | 'relationship' => 'none', |
---|
235 | ), |
---|
236 | 'field_proyecto_status_value' => array( |
---|
237 | 'label' => 'Estatus del Proyecto', |
---|
238 | 'alter' => array( |
---|
239 | 'alter_text' => 0, |
---|
240 | 'text' => '', |
---|
241 | 'make_link' => 0, |
---|
242 | 'path' => '', |
---|
243 | 'link_class' => '', |
---|
244 | 'alt' => '', |
---|
245 | 'prefix' => '', |
---|
246 | 'suffix' => '', |
---|
247 | 'target' => '', |
---|
248 | 'help' => '', |
---|
249 | 'trim' => 0, |
---|
250 | 'max_length' => '', |
---|
251 | 'word_boundary' => 1, |
---|
252 | 'ellipsis' => 1, |
---|
253 | 'html' => 0, |
---|
254 | 'strip_tags' => 0, |
---|
255 | ), |
---|
256 | 'empty' => '', |
---|
257 | 'hide_empty' => 0, |
---|
258 | 'empty_zero' => 0, |
---|
259 | 'link_to_node' => 0, |
---|
260 | 'label_type' => 'widget', |
---|
261 | 'format' => 'default', |
---|
262 | 'multiple' => array( |
---|
263 | 'group' => TRUE, |
---|
264 | 'multiple_number' => '', |
---|
265 | 'multiple_from' => '', |
---|
266 | 'multiple_reversed' => FALSE, |
---|
267 | ), |
---|
268 | 'exclude' => 0, |
---|
269 | 'id' => 'field_proyecto_status_value', |
---|
270 | 'table' => 'node_data_field_proyecto_status', |
---|
271 | 'field' => 'field_proyecto_status_value', |
---|
272 | 'relationship' => 'none', |
---|
273 | ), |
---|
274 | 'field_proyecto_situacion_p_value' => array( |
---|
275 | 'label' => 'Situación Presupuestaria', |
---|
276 | 'alter' => array( |
---|
277 | 'alter_text' => 0, |
---|
278 | 'text' => '', |
---|
279 | 'make_link' => 0, |
---|
280 | 'path' => '', |
---|
281 | 'link_class' => '', |
---|
282 | 'alt' => '', |
---|
283 | 'prefix' => '', |
---|
284 | 'suffix' => '', |
---|
285 | 'target' => '', |
---|
286 | 'help' => '', |
---|
287 | 'trim' => 0, |
---|
288 | 'max_length' => '', |
---|
289 | 'word_boundary' => 1, |
---|
290 | 'ellipsis' => 1, |
---|
291 | 'html' => 0, |
---|
292 | 'strip_tags' => 0, |
---|
293 | ), |
---|
294 | 'empty' => '', |
---|
295 | 'hide_empty' => 0, |
---|
296 | 'empty_zero' => 0, |
---|
297 | 'link_to_node' => 0, |
---|
298 | 'label_type' => 'custom', |
---|
299 | 'format' => 'default', |
---|
300 | 'multiple' => array( |
---|
301 | 'group' => TRUE, |
---|
302 | 'multiple_number' => '', |
---|
303 | 'multiple_from' => '', |
---|
304 | 'multiple_reversed' => FALSE, |
---|
305 | ), |
---|
306 | 'exclude' => 1, |
---|
307 | 'id' => 'field_proyecto_situacion_p_value', |
---|
308 | 'table' => 'node_data_field_proyecto_situacion_p', |
---|
309 | 'field' => 'field_proyecto_situacion_p_value', |
---|
310 | 'relationship' => 'none', |
---|
311 | 'override' => array( |
---|
312 | 'button' => 'Override', |
---|
313 | ), |
---|
314 | ), |
---|
315 | 'phpcode' => array( |
---|
316 | 'label' => 'Situación Presupuestaria', |
---|
317 | 'alter' => array( |
---|
318 | 'alter_text' => 0, |
---|
319 | 'text' => '', |
---|
320 | 'make_link' => 0, |
---|
321 | 'path' => '', |
---|
322 | 'link_class' => '', |
---|
323 | 'alt' => '', |
---|
324 | 'prefix' => '', |
---|
325 | 'suffix' => '', |
---|
326 | 'target' => '', |
---|
327 | 'help' => '', |
---|
328 | 'trim' => 0, |
---|
329 | 'max_length' => '', |
---|
330 | 'word_boundary' => 1, |
---|
331 | 'ellipsis' => 1, |
---|
332 | 'html' => 0, |
---|
333 | 'strip_tags' => 0, |
---|
334 | ), |
---|
335 | 'empty' => '', |
---|
336 | 'hide_empty' => 0, |
---|
337 | 'empty_zero' => 0, |
---|
338 | 'value' => '<?php |
---|
339 | $nodo_proyecto = node_load($data->nid); |
---|
340 | echo $nodo_proyecto->field_proyecto_situacion_p[0][\'value\']; |
---|
341 | ?>', |
---|
342 | 'exclude' => 0, |
---|
343 | 'id' => 'phpcode', |
---|
344 | 'table' => 'customfield', |
---|
345 | 'field' => 'phpcode', |
---|
346 | 'override' => array( |
---|
347 | 'button' => 'Override', |
---|
348 | ), |
---|
349 | 'relationship' => 'none', |
---|
350 | ), |
---|
351 | 'field_proyecto_monto_anual_value' => array( |
---|
352 | 'label' => 'Monto Total del Proyecto para el año en curso', |
---|
353 | 'alter' => array( |
---|
354 | 'alter_text' => 0, |
---|
355 | 'text' => '', |
---|
356 | 'make_link' => 0, |
---|
357 | 'path' => '', |
---|
358 | 'link_class' => '', |
---|
359 | 'alt' => '', |
---|
360 | 'prefix' => '', |
---|
361 | 'suffix' => '', |
---|
362 | 'target' => '', |
---|
363 | 'help' => '', |
---|
364 | 'trim' => 0, |
---|
365 | 'max_length' => '', |
---|
366 | 'word_boundary' => 1, |
---|
367 | 'ellipsis' => 1, |
---|
368 | 'html' => 0, |
---|
369 | 'strip_tags' => 0, |
---|
370 | ), |
---|
371 | 'empty' => '', |
---|
372 | 'hide_empty' => 0, |
---|
373 | 'empty_zero' => 0, |
---|
374 | 'link_to_node' => 0, |
---|
375 | 'label_type' => 'widget', |
---|
376 | 'format' => 'default', |
---|
377 | 'multiple' => array( |
---|
378 | 'group' => TRUE, |
---|
379 | 'multiple_number' => '', |
---|
380 | 'multiple_from' => '', |
---|
381 | 'multiple_reversed' => FALSE, |
---|
382 | ), |
---|
383 | 'exclude' => 1, |
---|
384 | 'id' => 'field_proyecto_monto_anual_value', |
---|
385 | 'table' => 'node_data_field_proyecto_monto_anual', |
---|
386 | 'field' => 'field_proyecto_monto_anual_value', |
---|
387 | 'relationship' => 'none', |
---|
388 | 'override' => array( |
---|
389 | 'button' => 'Override', |
---|
390 | ), |
---|
391 | ), |
---|
392 | 'phpcode_1' => array( |
---|
393 | 'label' => 'Monto año en curso', |
---|
394 | 'alter' => array( |
---|
395 | 'alter_text' => 0, |
---|
396 | 'text' => '', |
---|
397 | 'make_link' => 0, |
---|
398 | 'path' => '', |
---|
399 | 'link_class' => '', |
---|
400 | 'alt' => '', |
---|
401 | 'prefix' => '', |
---|
402 | 'suffix' => '', |
---|
403 | 'target' => '', |
---|
404 | 'help' => '', |
---|
405 | 'trim' => 0, |
---|
406 | 'max_length' => '', |
---|
407 | 'word_boundary' => 1, |
---|
408 | 'ellipsis' => 1, |
---|
409 | 'html' => 0, |
---|
410 | 'strip_tags' => 0, |
---|
411 | ), |
---|
412 | 'empty' => '', |
---|
413 | 'hide_empty' => 0, |
---|
414 | 'empty_zero' => 0, |
---|
415 | 'value' => '<?php |
---|
416 | $nodo_proyecto = node_load($data->nid); |
---|
417 | echo $nodo_proyecto->field_proyecto_monto_anual[0][\'value\'].\'Bs\'; |
---|
418 | ?>', |
---|
419 | 'exclude' => 0, |
---|
420 | 'id' => 'phpcode_1', |
---|
421 | 'table' => 'customfield', |
---|
422 | 'field' => 'phpcode', |
---|
423 | 'override' => array( |
---|
424 | 'button' => 'Override', |
---|
425 | ), |
---|
426 | 'relationship' => 'none', |
---|
427 | ), |
---|
428 | 'field_proyecto_plurianual_value' => array( |
---|
429 | 'label' => 'Proyecto Plurianual', |
---|
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_proyecto_plurianual_value', |
---|
462 | 'table' => 'node_data_field_proyecto_plurianual', |
---|
463 | 'field' => 'field_proyecto_plurianual_value', |
---|
464 | 'override' => array( |
---|
465 | 'button' => 'Override', |
---|
466 | ), |
---|
467 | 'relationship' => 'none', |
---|
468 | ), |
---|
469 | 'field_proyecto_total_value' => array( |
---|
470 | 'label' => 'Monto Total del Proyecto', |
---|
471 | 'alter' => array( |
---|
472 | 'alter_text' => 0, |
---|
473 | 'text' => '', |
---|
474 | 'make_link' => 0, |
---|
475 | 'path' => '', |
---|
476 | 'link_class' => '', |
---|
477 | 'alt' => '', |
---|
478 | 'prefix' => '', |
---|
479 | 'suffix' => '', |
---|
480 | 'target' => '', |
---|
481 | 'help' => '', |
---|
482 | 'trim' => 0, |
---|
483 | 'max_length' => '', |
---|
484 | 'word_boundary' => 1, |
---|
485 | 'ellipsis' => 1, |
---|
486 | 'html' => 0, |
---|
487 | 'strip_tags' => 0, |
---|
488 | ), |
---|
489 | 'empty' => '', |
---|
490 | 'hide_empty' => 0, |
---|
491 | 'empty_zero' => 0, |
---|
492 | 'link_to_node' => 0, |
---|
493 | 'label_type' => 'widget', |
---|
494 | 'format' => 'default', |
---|
495 | 'multiple' => array( |
---|
496 | 'group' => TRUE, |
---|
497 | 'multiple_number' => '', |
---|
498 | 'multiple_from' => '', |
---|
499 | 'multiple_reversed' => FALSE, |
---|
500 | ), |
---|
501 | 'exclude' => 0, |
---|
502 | 'id' => 'field_proyecto_total_value', |
---|
503 | 'table' => 'node_data_field_proyecto_total', |
---|
504 | 'field' => 'field_proyecto_total_value', |
---|
505 | 'relationship' => 'none', |
---|
506 | ), |
---|
507 | 'field_proyecto_poan_value' => array( |
---|
508 | 'label' => 'Considerado para el POAN', |
---|
509 | 'alter' => array( |
---|
510 | 'alter_text' => 0, |
---|
511 | 'text' => '', |
---|
512 | 'make_link' => 0, |
---|
513 | 'path' => '', |
---|
514 | 'link_class' => '', |
---|
515 | 'alt' => '', |
---|
516 | 'prefix' => '', |
---|
517 | 'suffix' => '', |
---|
518 | 'target' => '', |
---|
519 | 'help' => '', |
---|
520 | 'trim' => 0, |
---|
521 | 'max_length' => '', |
---|
522 | 'word_boundary' => 1, |
---|
523 | 'ellipsis' => 1, |
---|
524 | 'html' => 0, |
---|
525 | 'strip_tags' => 0, |
---|
526 | ), |
---|
527 | 'empty' => '', |
---|
528 | 'hide_empty' => 0, |
---|
529 | 'empty_zero' => 0, |
---|
530 | 'link_to_node' => 0, |
---|
531 | 'label_type' => 'widget', |
---|
532 | 'format' => 'default', |
---|
533 | 'multiple' => array( |
---|
534 | 'group' => TRUE, |
---|
535 | 'multiple_number' => '', |
---|
536 | 'multiple_from' => '', |
---|
537 | 'multiple_reversed' => FALSE, |
---|
538 | ), |
---|
539 | 'exclude' => 0, |
---|
540 | 'id' => 'field_proyecto_poan_value', |
---|
541 | 'table' => 'node_data_field_proyecto_poan', |
---|
542 | 'field' => 'field_proyecto_poan_value', |
---|
543 | 'override' => array( |
---|
544 | 'button' => 'Override', |
---|
545 | ), |
---|
546 | 'relationship' => 'none', |
---|
547 | ), |
---|
548 | 'field_proyecto_ente_nid' => array( |
---|
549 | 'label' => 'Institucion', |
---|
550 | 'alter' => array( |
---|
551 | 'alter_text' => 0, |
---|
552 | 'text' => '', |
---|
553 | 'make_link' => 0, |
---|
554 | 'path' => '', |
---|
555 | 'link_class' => '', |
---|
556 | 'alt' => '', |
---|
557 | 'prefix' => '', |
---|
558 | 'suffix' => '', |
---|
559 | 'target' => '', |
---|
560 | 'help' => '', |
---|
561 | 'trim' => 0, |
---|
562 | 'max_length' => '', |
---|
563 | 'word_boundary' => 1, |
---|
564 | 'ellipsis' => 1, |
---|
565 | 'html' => 0, |
---|
566 | 'strip_tags' => 0, |
---|
567 | ), |
---|
568 | 'empty' => '', |
---|
569 | 'hide_empty' => 0, |
---|
570 | 'empty_zero' => 0, |
---|
571 | 'link_to_node' => 0, |
---|
572 | 'label_type' => 'widget', |
---|
573 | 'format' => 'default', |
---|
574 | 'multiple' => array( |
---|
575 | 'group' => TRUE, |
---|
576 | 'multiple_number' => '', |
---|
577 | 'multiple_from' => '', |
---|
578 | 'multiple_reversed' => FALSE, |
---|
579 | ), |
---|
580 | 'exclude' => 0, |
---|
581 | 'id' => 'field_proyecto_ente_nid', |
---|
582 | 'table' => 'node_data_field_proyecto_ente', |
---|
583 | 'field' => 'field_proyecto_ente_nid', |
---|
584 | 'relationship' => 'none', |
---|
585 | ), |
---|
586 | 'field_proyecto_autoridad_value' => array( |
---|
587 | 'label' => 'Autoridad de la Institución', |
---|
588 | 'alter' => array( |
---|
589 | 'alter_text' => 0, |
---|
590 | 'text' => '', |
---|
591 | 'make_link' => 0, |
---|
592 | 'path' => '', |
---|
593 | 'link_class' => '', |
---|
594 | 'alt' => '', |
---|
595 | 'prefix' => '', |
---|
596 | 'suffix' => '', |
---|
597 | 'target' => '', |
---|
598 | 'help' => '', |
---|
599 | 'trim' => 0, |
---|
600 | 'max_length' => '', |
---|
601 | 'word_boundary' => 1, |
---|
602 | 'ellipsis' => 1, |
---|
603 | 'html' => 0, |
---|
604 | 'strip_tags' => 0, |
---|
605 | ), |
---|
606 | 'empty' => '', |
---|
607 | 'hide_empty' => 0, |
---|
608 | 'empty_zero' => 0, |
---|
609 | 'link_to_node' => 0, |
---|
610 | 'label_type' => 'widget', |
---|
611 | 'format' => 'default', |
---|
612 | 'multiple' => array( |
---|
613 | 'group' => TRUE, |
---|
614 | 'multiple_number' => '', |
---|
615 | 'multiple_from' => '', |
---|
616 | 'multiple_reversed' => FALSE, |
---|
617 | ), |
---|
618 | 'exclude' => 0, |
---|
619 | 'id' => 'field_proyecto_autoridad_value', |
---|
620 | 'table' => 'node_data_field_proyecto_autoridad', |
---|
621 | 'field' => 'field_proyecto_autoridad_value', |
---|
622 | 'override' => array( |
---|
623 | 'button' => 'Override', |
---|
624 | ), |
---|
625 | 'relationship' => 'none', |
---|
626 | ), |
---|
627 | 'field_proyecto_lider_value' => array( |
---|
628 | 'label' => 'Lider del Proyecto', |
---|
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' => 'default', |
---|
653 | 'multiple' => array( |
---|
654 | 'group' => TRUE, |
---|
655 | 'multiple_number' => '', |
---|
656 | 'multiple_from' => '', |
---|
657 | 'multiple_reversed' => FALSE, |
---|
658 | ), |
---|
659 | 'exclude' => 0, |
---|
660 | 'id' => 'field_proyecto_lider_value', |
---|
661 | 'table' => 'node_data_field_proyecto_lider', |
---|
662 | 'field' => 'field_proyecto_lider_value', |
---|
663 | 'override' => array( |
---|
664 | 'button' => 'Override', |
---|
665 | ), |
---|
666 | 'relationship' => 'none', |
---|
667 | ), |
---|
668 | 'field_proyecto_unidad_a_value' => array( |
---|
669 | 'label' => 'Unidad de Adscripción', |
---|
670 | 'alter' => array( |
---|
671 | 'alter_text' => 0, |
---|
672 | 'text' => '', |
---|
673 | 'make_link' => 0, |
---|
674 | 'path' => '', |
---|
675 | 'link_class' => '', |
---|
676 | 'alt' => '', |
---|
677 | 'prefix' => '', |
---|
678 | 'suffix' => '', |
---|
679 | 'target' => '', |
---|
680 | 'help' => '', |
---|
681 | 'trim' => 0, |
---|
682 | 'max_length' => '', |
---|
683 | 'word_boundary' => 1, |
---|
684 | 'ellipsis' => 1, |
---|
685 | 'html' => 0, |
---|
686 | 'strip_tags' => 0, |
---|
687 | ), |
---|
688 | 'empty' => '', |
---|
689 | 'hide_empty' => 0, |
---|
690 | 'empty_zero' => 0, |
---|
691 | 'link_to_node' => 0, |
---|
692 | 'label_type' => 'widget', |
---|
693 | 'format' => 'default', |
---|
694 | 'multiple' => array( |
---|
695 | 'group' => TRUE, |
---|
696 | 'multiple_number' => '', |
---|
697 | 'multiple_from' => '', |
---|
698 | 'multiple_reversed' => FALSE, |
---|
699 | ), |
---|
700 | 'exclude' => 0, |
---|
701 | 'id' => 'field_proyecto_unidad_a_value', |
---|
702 | 'table' => 'node_data_field_proyecto_unidad_a', |
---|
703 | 'field' => 'field_proyecto_unidad_a_value', |
---|
704 | 'override' => array( |
---|
705 | 'button' => 'Override', |
---|
706 | ), |
---|
707 | 'relationship' => 'none', |
---|
708 | ), |
---|
709 | 'field_proyecto_cargo_th_value' => array( |
---|
710 | 'label' => 'Cargo', |
---|
711 | 'alter' => array( |
---|
712 | 'alter_text' => 0, |
---|
713 | 'text' => '', |
---|
714 | 'make_link' => 0, |
---|
715 | 'path' => '', |
---|
716 | 'link_class' => '', |
---|
717 | 'alt' => '', |
---|
718 | 'prefix' => '', |
---|
719 | 'suffix' => '', |
---|
720 | 'target' => '', |
---|
721 | 'help' => '', |
---|
722 | 'trim' => 0, |
---|
723 | 'max_length' => '', |
---|
724 | 'word_boundary' => 1, |
---|
725 | 'ellipsis' => 1, |
---|
726 | 'html' => 0, |
---|
727 | 'strip_tags' => 0, |
---|
728 | ), |
---|
729 | 'empty' => '', |
---|
730 | 'hide_empty' => 0, |
---|
731 | 'empty_zero' => 0, |
---|
732 | 'link_to_node' => 0, |
---|
733 | 'label_type' => 'widget', |
---|
734 | 'format' => 'default', |
---|
735 | 'multiple' => array( |
---|
736 | 'group' => 1, |
---|
737 | 'multiple_number' => '', |
---|
738 | 'multiple_from' => '', |
---|
739 | 'multiple_reversed' => 0, |
---|
740 | ), |
---|
741 | 'exclude' => 0, |
---|
742 | 'id' => 'field_proyecto_cargo_th_value', |
---|
743 | 'table' => 'node_data_field_proyecto_cargo_th', |
---|
744 | 'field' => 'field_proyecto_cargo_th_value', |
---|
745 | 'override' => array( |
---|
746 | 'button' => 'Override', |
---|
747 | ), |
---|
748 | 'relationship' => 'none', |
---|
749 | ), |
---|
750 | 'field_proyecto_telefono_value' => array( |
---|
751 | 'label' => 'Teléfono', |
---|
752 | 'alter' => array( |
---|
753 | 'alter_text' => 0, |
---|
754 | 'text' => '', |
---|
755 | 'make_link' => 0, |
---|
756 | 'path' => '', |
---|
757 | 'link_class' => '', |
---|
758 | 'alt' => '', |
---|
759 | 'prefix' => '', |
---|
760 | 'suffix' => '', |
---|
761 | 'target' => '', |
---|
762 | 'help' => '', |
---|
763 | 'trim' => 0, |
---|
764 | 'max_length' => '', |
---|
765 | 'word_boundary' => 1, |
---|
766 | 'ellipsis' => 1, |
---|
767 | 'html' => 0, |
---|
768 | 'strip_tags' => 0, |
---|
769 | ), |
---|
770 | 'empty' => '', |
---|
771 | 'hide_empty' => 0, |
---|
772 | 'empty_zero' => 0, |
---|
773 | 'link_to_node' => 0, |
---|
774 | 'label_type' => 'widget', |
---|
775 | 'format' => 'default', |
---|
776 | 'multiple' => array( |
---|
777 | 'group' => TRUE, |
---|
778 | 'multiple_number' => '', |
---|
779 | 'multiple_from' => '', |
---|
780 | 'multiple_reversed' => FALSE, |
---|
781 | ), |
---|
782 | 'exclude' => 0, |
---|
783 | 'id' => 'field_proyecto_telefono_value', |
---|
784 | 'table' => 'node_data_field_proyecto_telefono', |
---|
785 | 'field' => 'field_proyecto_telefono_value', |
---|
786 | 'override' => array( |
---|
787 | 'button' => 'Override', |
---|
788 | ), |
---|
789 | 'relationship' => 'none', |
---|
790 | ), |
---|
791 | 'field_proyecto_correo_email' => array( |
---|
792 | 'label' => 'Correo', |
---|
793 | 'alter' => array( |
---|
794 | 'alter_text' => 0, |
---|
795 | 'text' => '', |
---|
796 | 'make_link' => 0, |
---|
797 | 'path' => '', |
---|
798 | 'link_class' => '', |
---|
799 | 'alt' => '', |
---|
800 | 'prefix' => '', |
---|
801 | 'suffix' => '', |
---|
802 | 'target' => '', |
---|
803 | 'help' => '', |
---|
804 | 'trim' => 0, |
---|
805 | 'max_length' => '', |
---|
806 | 'word_boundary' => 1, |
---|
807 | 'ellipsis' => 1, |
---|
808 | 'html' => 0, |
---|
809 | 'strip_tags' => 0, |
---|
810 | ), |
---|
811 | 'empty' => '', |
---|
812 | 'hide_empty' => 0, |
---|
813 | 'empty_zero' => 0, |
---|
814 | 'link_to_node' => 0, |
---|
815 | 'label_type' => 'widget', |
---|
816 | 'format' => 'default', |
---|
817 | 'multiple' => array( |
---|
818 | 'group' => TRUE, |
---|
819 | 'multiple_number' => '', |
---|
820 | 'multiple_from' => '', |
---|
821 | 'multiple_reversed' => FALSE, |
---|
822 | ), |
---|
823 | 'exclude' => 0, |
---|
824 | 'id' => 'field_proyecto_correo_email', |
---|
825 | 'table' => 'node_data_field_proyecto_correo', |
---|
826 | 'field' => 'field_proyecto_correo_email', |
---|
827 | 'override' => array( |
---|
828 | 'button' => 'Override', |
---|
829 | ), |
---|
830 | 'relationship' => 'none', |
---|
831 | ), |
---|
832 | )); |
---|
833 | $handler->override_option('filters', array( |
---|
834 | 'type' => array( |
---|
835 | 'operator' => 'in', |
---|
836 | 'value' => array( |
---|
837 | 'proyectos_operativos' => 'proyectos_operativos', |
---|
838 | ), |
---|
839 | 'group' => '0', |
---|
840 | 'exposed' => FALSE, |
---|
841 | 'expose' => array( |
---|
842 | 'operator' => FALSE, |
---|
843 | 'label' => '', |
---|
844 | ), |
---|
845 | 'id' => 'type', |
---|
846 | 'table' => 'node', |
---|
847 | 'field' => 'type', |
---|
848 | 'override' => array( |
---|
849 | 'button' => 'Override', |
---|
850 | ), |
---|
851 | 'relationship' => 'none', |
---|
852 | ), |
---|
853 | 'sid' => array( |
---|
854 | 'operator' => 'in', |
---|
855 | 'value' => array( |
---|
856 | '6' => '6', |
---|
857 | ), |
---|
858 | 'group' => '0', |
---|
859 | 'exposed' => FALSE, |
---|
860 | 'expose' => array( |
---|
861 | 'operator' => FALSE, |
---|
862 | 'label' => '', |
---|
863 | ), |
---|
864 | 'id' => 'sid', |
---|
865 | 'table' => 'workflow_node', |
---|
866 | 'field' => 'sid', |
---|
867 | 'relationship' => 'none', |
---|
868 | ), |
---|
869 | 'field_proyecto_fecha_i_value' => array( |
---|
870 | 'operator' => '=', |
---|
871 | 'value' => array( |
---|
872 | 'value' => NULL, |
---|
873 | 'min' => NULL, |
---|
874 | 'max' => NULL, |
---|
875 | 'default_date' => '', |
---|
876 | 'default_to_date' => '', |
---|
877 | ), |
---|
878 | 'group' => '0', |
---|
879 | 'exposed' => TRUE, |
---|
880 | 'expose' => array( |
---|
881 | 'use_operator' => 0, |
---|
882 | 'operator' => 'field_proyecto_fecha_i_value_op', |
---|
883 | 'identifier' => 'field_proyecto_fecha_i_value', |
---|
884 | 'label' => 'Fecha de Inicio del Proyecto', |
---|
885 | 'optional' => 0, |
---|
886 | 'remember' => 0, |
---|
887 | ), |
---|
888 | 'date_fields' => array( |
---|
889 | 'node_data_field_proyecto_fecha_i.field_proyecto_fecha_i_value' => 'node_data_field_proyecto_fecha_i.field_proyecto_fecha_i_value', |
---|
890 | ), |
---|
891 | 'date_method' => 'OR', |
---|
892 | 'granularity' => 'day', |
---|
893 | 'form_type' => 'date_select', |
---|
894 | 'default_date' => '', |
---|
895 | 'default_to_date' => '', |
---|
896 | 'year_range' => '-3:+3', |
---|
897 | 'id' => 'field_proyecto_fecha_i_value', |
---|
898 | 'table' => 'node_data_field_proyecto_fecha_i', |
---|
899 | 'field' => 'field_proyecto_fecha_i_value', |
---|
900 | 'relationship' => 'none', |
---|
901 | ), |
---|
902 | 'field_proyecto_fecha_f_value' => array( |
---|
903 | 'operator' => '=', |
---|
904 | 'value' => array( |
---|
905 | 'value' => NULL, |
---|
906 | 'min' => NULL, |
---|
907 | 'max' => NULL, |
---|
908 | 'default_date' => '', |
---|
909 | 'default_to_date' => '', |
---|
910 | ), |
---|
911 | 'group' => '0', |
---|
912 | 'exposed' => TRUE, |
---|
913 | 'expose' => array( |
---|
914 | 'use_operator' => 0, |
---|
915 | 'operator' => 'field_proyecto_fecha_f_value_op', |
---|
916 | 'identifier' => 'field_proyecto_fecha_f_value', |
---|
917 | 'label' => 'Fecha de Fin de Proyecto', |
---|
918 | 'optional' => 0, |
---|
919 | 'remember' => 0, |
---|
920 | ), |
---|
921 | 'date_fields' => array( |
---|
922 | 'node_data_field_proyecto_fecha_f.field_proyecto_fecha_f_value' => 'node_data_field_proyecto_fecha_f.field_proyecto_fecha_f_value', |
---|
923 | ), |
---|
924 | 'date_method' => 'OR', |
---|
925 | 'granularity' => 'day', |
---|
926 | 'form_type' => 'date_select', |
---|
927 | 'default_date' => '', |
---|
928 | 'default_to_date' => '', |
---|
929 | 'year_range' => '-3:+3', |
---|
930 | 'id' => 'field_proyecto_fecha_f_value', |
---|
931 | 'table' => 'node_data_field_proyecto_fecha_f', |
---|
932 | 'field' => 'field_proyecto_fecha_f_value', |
---|
933 | 'relationship' => 'none', |
---|
934 | ), |
---|
935 | 'field_proyecto_status_value_many_to_one' => array( |
---|
936 | 'operator' => 'or', |
---|
937 | 'value' => array(), |
---|
938 | 'group' => '0', |
---|
939 | 'exposed' => TRUE, |
---|
940 | 'expose' => array( |
---|
941 | 'use_operator' => 0, |
---|
942 | 'operator' => 'field_proyecto_status_value_many_to_one_op', |
---|
943 | 'identifier' => 'field_proyecto_status_value_many_to_one', |
---|
944 | 'label' => 'Estatus del Proyecto', |
---|
945 | 'optional' => 1, |
---|
946 | 'single' => 1, |
---|
947 | 'remember' => 0, |
---|
948 | 'reduce' => 0, |
---|
949 | ), |
---|
950 | 'id' => 'field_proyecto_status_value_many_to_one', |
---|
951 | 'table' => 'node_data_field_proyecto_status', |
---|
952 | 'field' => 'field_proyecto_status_value_many_to_one', |
---|
953 | 'relationship' => 'none', |
---|
954 | 'reduce_duplicates' => 0, |
---|
955 | ), |
---|
956 | 'field_proyecto_situacion_p_value_many_to_one' => array( |
---|
957 | 'operator' => 'or', |
---|
958 | 'value' => array(), |
---|
959 | 'group' => '0', |
---|
960 | 'exposed' => TRUE, |
---|
961 | 'expose' => array( |
---|
962 | 'use_operator' => 0, |
---|
963 | 'operator' => 'field_proyecto_situacion_p_value_many_to_one_op', |
---|
964 | 'identifier' => 'field_proyecto_situacion_p_value_many_to_one', |
---|
965 | 'label' => 'Situación Presupuestaria', |
---|
966 | 'optional' => 1, |
---|
967 | 'single' => 1, |
---|
968 | 'remember' => 0, |
---|
969 | 'reduce' => 0, |
---|
970 | ), |
---|
971 | 'id' => 'field_proyecto_situacion_p_value_many_to_one', |
---|
972 | 'table' => 'node_data_field_proyecto_situacion_p', |
---|
973 | 'field' => 'field_proyecto_situacion_p_value_many_to_one', |
---|
974 | 'relationship' => 'none', |
---|
975 | 'reduce_duplicates' => 0, |
---|
976 | ), |
---|
977 | 'field_proyecto_plurianual_value_many_to_one' => array( |
---|
978 | 'operator' => 'or', |
---|
979 | 'value' => array(), |
---|
980 | 'group' => '0', |
---|
981 | 'exposed' => TRUE, |
---|
982 | 'expose' => array( |
---|
983 | 'use_operator' => 0, |
---|
984 | 'operator' => 'field_proyecto_plurianual_value_many_to_one_op', |
---|
985 | 'identifier' => 'field_proyecto_plurianual_value_many_to_one', |
---|
986 | 'label' => 'Proyecto Plurianual', |
---|
987 | 'optional' => 1, |
---|
988 | 'single' => 1, |
---|
989 | 'remember' => 0, |
---|
990 | 'reduce' => 0, |
---|
991 | ), |
---|
992 | 'id' => 'field_proyecto_plurianual_value_many_to_one', |
---|
993 | 'table' => 'node_data_field_proyecto_plurianual', |
---|
994 | 'field' => 'field_proyecto_plurianual_value_many_to_one', |
---|
995 | 'relationship' => 'none', |
---|
996 | 'reduce_duplicates' => 0, |
---|
997 | ), |
---|
998 | 'field_proyecto_ente_nid' => array( |
---|
999 | 'operator' => 'or', |
---|
1000 | 'value' => array(), |
---|
1001 | 'group' => '0', |
---|
1002 | 'exposed' => TRUE, |
---|
1003 | 'expose' => array( |
---|
1004 | 'use_operator' => 0, |
---|
1005 | 'operator' => 'field_proyecto_ente_nid_op', |
---|
1006 | 'identifier' => 'field_proyecto_ente_nid', |
---|
1007 | 'label' => 'Ente Planificador', |
---|
1008 | 'optional' => 1, |
---|
1009 | 'single' => 1, |
---|
1010 | 'remember' => 0, |
---|
1011 | 'reduce' => 0, |
---|
1012 | ), |
---|
1013 | 'id' => 'field_proyecto_ente_nid', |
---|
1014 | 'table' => 'node_data_field_proyecto_ente', |
---|
1015 | 'field' => 'field_proyecto_ente_nid', |
---|
1016 | 'relationship' => 'none', |
---|
1017 | 'reduce_duplicates' => 0, |
---|
1018 | ), |
---|
1019 | 'field_proyecto_pndes_value' => array( |
---|
1020 | 'operator' => 'or', |
---|
1021 | 'value' => array(), |
---|
1022 | 'group' => '0', |
---|
1023 | 'exposed' => TRUE, |
---|
1024 | 'expose' => array( |
---|
1025 | 'use_operator' => 0, |
---|
1026 | 'operator' => 'field_proyecto_pndes_value_op', |
---|
1027 | 'identifier' => 'field_proyecto_pndes_value', |
---|
1028 | 'label' => 'Directriz PNDES', |
---|
1029 | 'optional' => 1, |
---|
1030 | 'single' => 1, |
---|
1031 | 'remember' => 0, |
---|
1032 | 'reduce' => 0, |
---|
1033 | ), |
---|
1034 | 'id' => 'field_proyecto_pndes_value', |
---|
1035 | 'table' => 'node_data_field_proyecto_pndes', |
---|
1036 | 'field' => 'field_proyecto_pndes_value', |
---|
1037 | 'relationship' => 'none', |
---|
1038 | 'reduce_duplicates' => 0, |
---|
1039 | ), |
---|
1040 | 'field_proyecto_mcti_value' => array( |
---|
1041 | 'operator' => 'or', |
---|
1042 | 'value' => array(), |
---|
1043 | 'group' => '0', |
---|
1044 | 'exposed' => TRUE, |
---|
1045 | 'expose' => array( |
---|
1046 | 'use_operator' => 0, |
---|
1047 | 'operator' => 'field_proyecto_mcti_value_op', |
---|
1048 | 'identifier' => 'field_proyecto_mcti_value', |
---|
1049 | 'label' => 'Estratégia MCTI', |
---|
1050 | 'optional' => 1, |
---|
1051 | 'single' => 1, |
---|
1052 | 'remember' => 0, |
---|
1053 | 'reduce' => 0, |
---|
1054 | ), |
---|
1055 | 'id' => 'field_proyecto_mcti_value', |
---|
1056 | 'table' => 'node_data_field_proyecto_mcti', |
---|
1057 | 'field' => 'field_proyecto_mcti_value', |
---|
1058 | 'relationship' => 'none', |
---|
1059 | 'reduce_duplicates' => 0, |
---|
1060 | ), |
---|
1061 | 'field_proyecto_sector_value' => array( |
---|
1062 | 'operator' => 'or', |
---|
1063 | 'value' => array(), |
---|
1064 | 'group' => '0', |
---|
1065 | 'exposed' => TRUE, |
---|
1066 | 'expose' => array( |
---|
1067 | 'use_operator' => 0, |
---|
1068 | 'operator' => 'field_proyecto_sector_value_op', |
---|
1069 | 'identifier' => 'field_proyecto_sector_value', |
---|
1070 | 'label' => 'Sector', |
---|
1071 | 'optional' => 1, |
---|
1072 | 'single' => 1, |
---|
1073 | 'remember' => 0, |
---|
1074 | 'reduce' => 0, |
---|
1075 | ), |
---|
1076 | 'id' => 'field_proyecto_sector_value', |
---|
1077 | 'table' => 'node_data_field_proyecto_sector', |
---|
1078 | 'field' => 'field_proyecto_sector_value', |
---|
1079 | 'relationship' => 'none', |
---|
1080 | 'reduce_duplicates' => 0, |
---|
1081 | ), |
---|
1082 | 'field_proyecto_relacion_nid' => array( |
---|
1083 | 'operator' => 'or', |
---|
1084 | 'value' => array(), |
---|
1085 | 'group' => '0', |
---|
1086 | 'exposed' => TRUE, |
---|
1087 | 'expose' => array( |
---|
1088 | 'use_operator' => 0, |
---|
1089 | 'operator' => 'field_proyecto_relacion_nid_op', |
---|
1090 | 'identifier' => 'field_proyecto_relacion_nid', |
---|
1091 | 'label' => 'Relacionado con', |
---|
1092 | 'optional' => 1, |
---|
1093 | 'single' => 1, |
---|
1094 | 'remember' => 0, |
---|
1095 | 'reduce' => 0, |
---|
1096 | ), |
---|
1097 | 'id' => 'field_proyecto_relacion_nid', |
---|
1098 | 'table' => 'node_data_field_proyecto_relacion', |
---|
1099 | 'field' => 'field_proyecto_relacion_nid', |
---|
1100 | 'relationship' => 'none', |
---|
1101 | 'reduce_duplicates' => 0, |
---|
1102 | ), |
---|
1103 | 'field_proyecto_unidadm_value' => array( |
---|
1104 | 'operator' => 'or', |
---|
1105 | 'value' => array(), |
---|
1106 | 'group' => '0', |
---|
1107 | 'exposed' => TRUE, |
---|
1108 | 'expose' => array( |
---|
1109 | 'use_operator' => 0, |
---|
1110 | 'operator' => 'field_proyecto_unidadm_value_op', |
---|
1111 | 'identifier' => 'field_proyecto_unidadm_value', |
---|
1112 | 'label' => 'Unidad de Medida del proyecto', |
---|
1113 | 'optional' => 1, |
---|
1114 | 'single' => 1, |
---|
1115 | 'remember' => 0, |
---|
1116 | 'reduce' => 0, |
---|
1117 | ), |
---|
1118 | 'id' => 'field_proyecto_unidadm_value', |
---|
1119 | 'table' => 'node_data_field_proyecto_unidadm', |
---|
1120 | 'field' => 'field_proyecto_unidadm_value', |
---|
1121 | 'relationship' => 'none', |
---|
1122 | 'reduce_duplicates' => 0, |
---|
1123 | ), |
---|
1124 | 'dyfield' => array( |
---|
1125 | 'operator' => '=', |
---|
1126 | 'value' => NULL, |
---|
1127 | 'group' => '0', |
---|
1128 | 'exposed' => TRUE, |
---|
1129 | 'expose' => array( |
---|
1130 | 'operator' => '', |
---|
1131 | 'label' => 'Campos a Mostrar', |
---|
1132 | 'identifier' => 'dyfield', |
---|
1133 | 'optional' => 1, |
---|
1134 | 'remember' => 0, |
---|
1135 | ), |
---|
1136 | 'filterable_fields' => array( |
---|
1137 | 'title' => 'title', |
---|
1138 | 'field_proyecto_codigo_value' => 'field_proyecto_codigo_value', |
---|
1139 | 'field_proyecto_fecha_i_value' => 'field_proyecto_fecha_i_value', |
---|
1140 | 'field_proyecto_fecha_f_value' => 'field_proyecto_fecha_f_value', |
---|
1141 | 'field_proyecto_status_value' => 'field_proyecto_status_value', |
---|
1142 | 'phpcode' => 'phpcode', |
---|
1143 | 'phpcode_1' => 'phpcode_1', |
---|
1144 | 'field_proyecto_plurianual_value' => 'field_proyecto_plurianual_value', |
---|
1145 | 'field_proyecto_total_value' => 'field_proyecto_total_value', |
---|
1146 | 'field_proyecto_poan_value' => 'field_proyecto_poan_value', |
---|
1147 | 'field_proyecto_ente_nid' => 'field_proyecto_ente_nid', |
---|
1148 | 'field_proyecto_autoridad_value' => 'field_proyecto_autoridad_value', |
---|
1149 | 'field_proyecto_lider_value' => 'field_proyecto_lider_value', |
---|
1150 | 'field_proyecto_unidad_a_value' => 'field_proyecto_unidad_a_value', |
---|
1151 | 'field_proyecto_cargo_th_value' => 'field_proyecto_cargo_th_value', |
---|
1152 | 'field_proyecto_telefono_value' => 'field_proyecto_telefono_value', |
---|
1153 | 'field_proyecto_correo_email' => 'field_proyecto_correo_email', |
---|
1154 | ), |
---|
1155 | 'defaults_filterable_fields' => array( |
---|
1156 | 'title' => 'title', |
---|
1157 | 'field_proyecto_fecha_i_value' => 'field_proyecto_fecha_i_value', |
---|
1158 | 'field_proyecto_fecha_f_value' => 'field_proyecto_fecha_f_value', |
---|
1159 | 'field_proyecto_ente_nid' => 'field_proyecto_ente_nid', |
---|
1160 | 'field_proyecto_codigo_value' => 0, |
---|
1161 | 'field_proyecto_status_value' => 0, |
---|
1162 | 'phpcode' => 0, |
---|
1163 | 'phpcode_1' => 0, |
---|
1164 | 'field_proyecto_plurianual_value' => 0, |
---|
1165 | 'field_proyecto_total_value' => 0, |
---|
1166 | 'field_proyecto_poan_value' => 0, |
---|
1167 | 'field_proyecto_autoridad_value' => 0, |
---|
1168 | 'field_proyecto_lider_value' => 0, |
---|
1169 | 'field_proyecto_unidad_a_value' => 0, |
---|
1170 | 'field_proyecto_cargo_th_value' => 0, |
---|
1171 | 'field_proyecto_telefono_value' => 0, |
---|
1172 | 'field_proyecto_correo_email' => 0, |
---|
1173 | ), |
---|
1174 | 'sortability' => 0, |
---|
1175 | 'checkboxes' => 1, |
---|
1176 | 'reverse' => 0, |
---|
1177 | 'reverse_label' => '', |
---|
1178 | 'id' => 'dyfield', |
---|
1179 | 'table' => 'node', |
---|
1180 | 'field' => 'dyfield', |
---|
1181 | 'filterable_fields_excluded' => array( |
---|
1182 | 'nid' => 0, |
---|
1183 | 'field_proyecto_situacion_p_value' => 0, |
---|
1184 | 'field_proyecto_monto_anual_value' => 0, |
---|
1185 | ), |
---|
1186 | 'override' => array( |
---|
1187 | 'button' => 'Override', |
---|
1188 | ), |
---|
1189 | 'relationship' => 'none', |
---|
1190 | ), |
---|
1191 | )); |
---|
1192 | $handler->override_option('access', array( |
---|
1193 | 'type' => 'none', |
---|
1194 | )); |
---|
1195 | $handler->override_option('cache', array( |
---|
1196 | 'type' => 'none', |
---|
1197 | )); |
---|
1198 | $handler->override_option('use_pager', 'mini'); |
---|
1199 | $handler->override_option('pager_element', 10); |
---|
1200 | $handler->override_option('style_plugin', 'table'); |
---|
1201 | $handler = $view->new_display('page', 'Página', 'page_1'); |
---|
1202 | $handler->override_option('path', 'reportes_sipp/consulta_de_proyectos'); |
---|
1203 | $handler->override_option('menu', array( |
---|
1204 | 'type' => 'none', |
---|
1205 | 'title' => '', |
---|
1206 | 'description' => '', |
---|
1207 | 'weight' => 0, |
---|
1208 | 'name' => 'navigation', |
---|
1209 | )); |
---|
1210 | $handler->override_option('tab_options', array( |
---|
1211 | 'type' => 'none', |
---|
1212 | 'title' => '', |
---|
1213 | 'description' => '', |
---|
1214 | 'weight' => 0, |
---|
1215 | 'name' => 'navigation', |
---|
1216 | )); |
---|
1217 | |
---|
1218 | $views[$view->name] = $view; |
---|
1219 | |
---|
1220 | return $views; |
---|
1221 | } |
---|