source: sipes/0.3-modules/ente_planificador_sector/includes/views/vista-entes.txt @ fbe146b

stableversion-3.0
Last change on this file since fbe146b was 303fae2, checked in by José Gregorio Puentes <jpuentes@…>, 9 años ago

se agregaron los modulos

  • Propiedad mode establecida a 100755
File size: 12.4 KB
Línea 
1$view = new view;
2$view->name = 'lista_actores_planificadores';
3$view->description = 'lista de los actores planificadores';
4$view->tag = '';
5$view->view_php = '\\x5c7835633738333536333337333833333335333633333333333733333338333333333333333533333336333333333333333333333337333333333333333833333333333333333333333333333335333333333333333633333333333333333333333333333333333333333333333733333333333333333333333333333338333333333333333333333333333333333333333333333333333333333333333533333333333333333333333333333336333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333337333333333333333333333333333333333333333333333333333333333333333833333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333335333333333333333333333333333333333333333333333333333333333333333633333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333733333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333338';
6$view->base_table = 'node';
7$view->is_cacheable = FALSE;
8$view->api_version = 2;
9$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
10$handler = $view->new_display('default', 'Predefinidos', 'default');
11$handler->override_option('fields', array(
12  'nid' => array(
13    'label' => 'Nid',
14    'alter' => array(
15      'alter_text' => 0,
16      'text' => '',
17      'make_link' => 0,
18      'path' => '',
19      'link_class' => '',
20      'alt' => '',
21      'prefix' => '',
22      'suffix' => '',
23      'target' => '',
24      'help' => '',
25      'trim' => 0,
26      'max_length' => '',
27      'word_boundary' => 1,
28      'ellipsis' => 1,
29      'html' => 0,
30      'strip_tags' => 0,
31    ),
32    'empty' => '',
33    'hide_empty' => 0,
34    'empty_zero' => 0,
35    'link_to_node' => 0,
36    'exclude' => 1,
37    'id' => 'nid',
38    'table' => 'node',
39    'field' => 'nid',
40    'relationship' => 'none',
41  ),
42  'title' => array(
43    'label' => 'Ente Planificador',
44    'alter' => array(
45      'alter_text' => 0,
46      'text' => '',
47      'make_link' => 0,
48      'path' => '',
49      'link_class' => '',
50      'alt' => '',
51      'prefix' => '',
52      'suffix' => '',
53      'target' => '',
54      'help' => '',
55      'trim' => 0,
56      'max_length' => '',
57      'word_boundary' => 1,
58      'ellipsis' => 1,
59      'html' => 0,
60      'strip_tags' => 0,
61    ),
62    'empty' => '',
63    'hide_empty' => 0,
64    'empty_zero' => 0,
65    'link_to_node' => 1,
66    'exclude' => 0,
67    'id' => 'title',
68    'table' => 'node',
69    'field' => 'title',
70    'relationship' => 'none',
71    'editablefields_allowed' => 0,
72    'editablefields_responder' => 'modal',
73    'editablefields_editable' => 'node',
74    'override' => array(
75      'button' => 'Sobreescribir',
76    ),
77  ),
78  'phpcode' => array(
79    'label' => 'Usuarios',
80    'alter' => array(
81      'alter_text' => 0,
82      'text' => '',
83      'make_link' => 0,
84      'path' => '',
85      'link_class' => '',
86      'alt' => '',
87      'prefix' => '',
88      'suffix' => '',
89      'target' => '',
90      'help' => '',
91      'trim' => 0,
92      'max_length' => '',
93      'word_boundary' => 1,
94      'ellipsis' => 1,
95      'html' => 0,
96      'strip_tags' => 0,
97    ),
98    'empty' => '',
99    'hide_empty' => 0,
100    'empty_zero' => 0,
101    'value' => '<?php
102  if ((user_access(\'edit all planificador\'))||(user_access(\'admin planificador\'))) {
103    echo l(t(\'Agregar usuarios al actor planificador\'), \'admin/user/user/create/\' . $data->nid);
104  }
105?>',
106    'exclude' => 0,
107    'id' => 'phpcode',
108    'table' => 'customfield',
109    'field' => 'phpcode',
110    'relationship' => 'none',
111  ),
112  'phpcode_1' => array(
113    'label' => 'Modificar',
114    'alter' => array(
115      'alter_text' => 0,
116      'text' => '',
117      'make_link' => 0,
118      'path' => '',
119      'link_class' => '',
120      'alt' => '',
121      'prefix' => '',
122      'suffix' => '',
123      'target' => '',
124      'help' => '',
125      'trim' => 0,
126      'max_length' => '',
127      'word_boundary' => 1,
128      'ellipsis' => 1,
129      'html' => 0,
130      'strip_tags' => 0,
131    ),
132    'empty' => '',
133    'hide_empty' => 0,
134    'empty_zero' => 0,
135    'value' => '<?php
136  if ((user_access(\'edit all planificador\')) || (user_access(\'admin planificador\'))) {
137   echo l(t(\'Modificar\'), \'node/\' . $data->nid.\'/edit\', array(\'html\' => true, \'query\' => \'destination=administrar/entes_planificadores\'));
138  }
139?>',
140    'exclude' => 0,
141    'id' => 'phpcode_1',
142    'table' => 'customfield',
143    'field' => 'phpcode',
144    'relationship' => 'none',
145  ),
146  'phpcode_2' => array(
147    'label' => 'Datos Basicos',
148    'alter' => array(
149      'alter_text' => 0,
150      'text' => '',
151      'make_link' => 0,
152      'path' => '',
153      'link_class' => '',
154      'alt' => '',
155      'prefix' => '',
156      'suffix' => '',
157      'target' => '',
158      'help' => '',
159      'trim' => 0,
160      'max_length' => '',
161      'word_boundary' => 1,
162      'ellipsis' => 1,
163      'html' => 0,
164      'strip_tags' => 0,
165    ),
166    'empty' => '',
167    'hide_empty' => 0,
168    'empty_zero' => 0,
169    'value' => '<?php
170  if ((user_access(\'edit all planificador\')) || (user_access(\'admin planificador\'))) {
171   echo l(t(\'Editar datos del actor planificador\'), \'node/\' . $data->nid . \'/datos_basicos\', array(\'html\' => true, \'query\' => \'destination=administrar/entes_planificadores\'));
172  }
173?>',
174    'exclude' => 0,
175    'id' => 'phpcode_2',
176    'table' => 'customfield',
177    'field' => 'phpcode',
178    'relationship' => 'none',
179  ),
180  'phpcode_3' => array(
181    'label' => 'Eliminar',
182    'alter' => array(
183      'alter_text' => 0,
184      'text' => '',
185      'make_link' => 0,
186      'path' => '',
187      'link_class' => '',
188      'alt' => '',
189      'prefix' => '',
190      'suffix' => '',
191      'target' => '',
192      'help' => '',
193      'trim' => 0,
194      'max_length' => '',
195      'word_boundary' => 1,
196      'ellipsis' => 1,
197      'html' => 0,
198      'strip_tags' => 0,
199    ),
200    'empty' => '',
201    'hide_empty' => 0,
202    'empty_zero' => 0,
203    'value' => '<?php
204  if ((user_access(\'edit all planificador\')) || (user_access(\'admin planificador\'))) {
205   echo l(t(\'Eliminar\'), \'node/\' . $data->nid.\'/delete\', array(\'html\' => true, \'query\' => \'destination=administrar/entes_planificadores\'));
206  }
207?>',
208    'exclude' => 0,
209    'id' => 'phpcode_3',
210    'table' => 'customfield',
211    'field' => 'phpcode',
212    'relationship' => 'none',
213  ),
214));
215$handler->override_option('sorts', array(
216  'title' => array(
217    'order' => 'ASC',
218    'id' => 'title',
219    'table' => 'node',
220    'field' => 'title',
221    'relationship' => 'none',
222  ),
223));
224$handler->override_option('arguments', array(
225  'ambito' => array(
226    'default_action' => 'default',
227    'style_plugin' => 'default_summary',
228    'style_options' => array(),
229    'wildcard' => 'all',
230    'wildcard_substitution' => 'Todo(s)',
231    'title' => '',
232    'breadcrumb' => '',
233    'default_argument_type' => 'mi_ambito',
234    'default_argument' => '',
235    'validate_type' => 'taxonomy_term',
236    'validate_fail' => 'empty',
237    'glossary' => 0,
238    'limit' => '0',
239    'case' => 'none',
240    'path_case' => 'none',
241    'transform_dash' => 0,
242    'id' => 'ambito',
243    'table' => 'ente_planificador',
244    'field' => 'ambito',
245    'validate_user_argument_type' => 'uid',
246    'validate_user_roles' => array(
247      '2' => 0,
248      '3' => 0,
249      '6' => 0,
250      '4' => 0,
251      '5' => 0,
252    ),
253    'relationship' => 'none',
254    'default_options_div_prefix' => '',
255    'default_argument_fixed' => '',
256    'default_argument_user' => 0,
257    'default_argument_php' => '',
258    'validate_argument_node_type' => array(
259      'accion_centralizada' => 0,
260      'politicas_direccionales' => 0,
261      'estrategia' => 0,
262      'accion_especifica' => 0,
263      'proyectos_operativos' => 0,
264      'situacion_actual_preliminar' => 0,
265      'causas' => 0,
266      'descriptores' => 0,
267      'situacion_ideal' => 0,
268      'ente_planificador' => 0,
269      'page' => 0,
270      'story' => 0,
271      'webform' => 0,
272    ),
273    'validate_argument_node_access' => 0,
274    'validate_argument_nid_type' => 'nid',
275    'validate_argument_vocabulary' => array(
276      '11' => 11,
277      '5' => 0,
278      '2' => 0,
279      '9' => 0,
280      '7' => 0,
281      '6' => 0,
282      '10' => 0,
283      '8' => 0,
284      '4' => 0,
285      '1' => 0,
286      '3' => 0,
287    ),
288    'validate_argument_type' => 'tid',
289    'validate_argument_transform' => 0,
290    'validate_user_restrict_roles' => 0,
291    'validate_argument_php' => '',
292  ),
293));
294$handler->override_option('filters', array(
295  'type' => array(
296    'operator' => 'in',
297    'value' => array(
298      'ente_planificador' => 'ente_planificador',
299    ),
300    'group' => '0',
301    'exposed' => FALSE,
302    'expose' => array(
303      'operator' => FALSE,
304      'label' => '',
305    ),
306    'id' => 'type',
307    'table' => 'node',
308    'field' => 'type',
309    'relationship' => 'none',
310  ),
311  'sector' => array(
312    'operator' => 'or',
313    'value' => NULL,
314    'group' => '0',
315    'exposed' => TRUE,
316    'expose' => array(
317      'use_operator' => 0,
318      'operator' => 'sector_op',
319      'identifier' => 'sector',
320      'label' => 'Sector Social',
321      'optional' => 1,
322      'single' => 1,
323      'remember' => 0,
324      'reduce' => 0,
325    ),
326    'id' => 'sector',
327    'table' => 'ente_planificador',
328    'field' => 'sector',
329    'relationship' => 'none',
330    'reduce_duplicates' => 0,
331  ),
332  'ambito' => array(
333    'operator' => 'or',
334    'value' => NULL,
335    'group' => '0',
336    'exposed' => TRUE,
337    'expose' => array(
338      'use_operator' => 0,
339      'operator' => 'ambito_op',
340      'identifier' => 'ambito',
341      'label' => 'Ambito',
342      'optional' => 1,
343      'single' => 1,
344      'remember' => 0,
345      'reduce' => 0,
346    ),
347    'id' => 'ambito',
348    'table' => 'ente_planificador',
349    'field' => 'ambito',
350    'relationship' => 'none',
351  ),
352  'organismo' => array(
353    'operator' => 'or',
354    'value' => NULL,
355    'group' => '0',
356    'exposed' => TRUE,
357    'expose' => array(
358      'use_operator' => 0,
359      'operator' => 'organismo_op',
360      'identifier' => 'organismo',
361      'label' => 'Organismo',
362      'optional' => 1,
363      'single' => 1,
364      'remember' => 0,
365      'reduce' => 0,
366    ),
367    'id' => 'organismo',
368    'table' => 'ente_planificador',
369    'field' => 'organismo',
370    'relationship' => 'none',
371  ),
372  'sub_sector' => array(
373    'operator' => 'or',
374    'value' => NULL,
375    'group' => '0',
376    'exposed' => TRUE,
377    'expose' => array(
378      'use_operator' => 0,
379      'operator' => 'sub_sector_op',
380      'identifier' => 'sub_sector',
381      'label' => '',
382      'optional' => 1,
383      'single' => 1,
384      'remember' => 0,
385      'reduce' => 0,
386    ),
387    'id' => 'sub_sector',
388    'table' => 'ente_planificador',
389    'field' => 'sub_sector',
390    'relationship' => 'none',
391  ),
392));
393$handler->override_option('access', array(
394  'type' => 'perm',
395  'perm' => 'ver planificador',
396));
397$handler->override_option('cache', array(
398  'type' => 'none',
399));
400$handler->override_option('title', 'Consultar lista de actores planificadores');
401$handler->override_option('empty', 'No se encontraron actores planificadores');
402$handler->override_option('empty_format', '1');
403$handler->override_option('use_pager', '1');
404$handler->override_option('style_plugin', 'table');
405$handler->override_option('style_options', array(
406  'grouping' => '',
407  'override' => 1,
408  'sticky' => 1,
409  'order' => 'asc',
410  'columns' => array(
411    'nid' => 'nid',
412    'title' => 'title',
413    'phpcode' => 'phpcode',
414    'phpcode_1' => 'phpcode_1',
415    'phpcode_2' => 'phpcode_2',
416    'phpcode_3' => 'phpcode_3',
417  ),
418  'info' => array(
419    'nid' => array(
420      'sortable' => 0,
421      'separator' => '',
422    ),
423    'title' => array(
424      'sortable' => 1,
425      'separator' => '',
426    ),
427    'phpcode' => array(
428      'separator' => '',
429    ),
430    'phpcode_1' => array(
431      'separator' => '',
432    ),
433    'phpcode_2' => array(
434      'separator' => '',
435    ),
436    'phpcode_3' => array(
437      'separator' => '',
438    ),
439  ),
440  'default' => 'title',
441));
442$handler = $view->new_display('page', 'lista de actores', 'page_1');
443$handler->override_option('path', 'administrar/entes_planificadores/lista');
444$handler->override_option('menu', array(
445  'type' => 'none',
446  'title' => '',
447  'description' => '',
448  'weight' => 0,
449  'name' => 'navigation',
450));
451$handler->override_option('tab_options', array(
452  'type' => 'none',
453  'title' => '',
454  'description' => '',
455  'weight' => 0,
456  'name' => 'navigation',
457));
458
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.