| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: project_package_items.view.php,v 1.6 2009/12/01 01:02:02 dww Exp $ 3 4 $view = new view; 5 $view->name = 'project_package_items'; 6 $view->description = 'View of all release items included in a given package release'; 7 $view->tag = 'Project package'; 8 $view->view_php = ''; 9 $view->base_table = 'node'; 10 $view->is_cacheable = FALSE; 11 $view->api_version = 2; 12 $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ 13 $handler = $view->new_display('default', 'Defaults', 'default'); 14 $handler->override_option('relationships', array( 15 'package_nid' => array( 16 'label' => 'Package release node', 17 'required' => 1, 18 'id' => 'package_nid', 19 'table' => 'project_package_local_release_item', 20 'field' => 'package_nid', 21 'relationship' => 'none', 22 ), 23 'pid' => array( 24 'label' => 'Project node', 25 'required' => 1, 26 'id' => 'pid', 27 'table' => 'project_release_nodes', 28 'field' => 'pid', 29 'relationship' => 'none', 30 ), 31 )); 32 $handler->override_option('fields', array( 33 'title' => array( 34 'label' => 'Project', 35 'alter' => array( 36 'alter_text' => 0, 37 'text' => '', 38 'make_link' => 0, 39 'path' => '', 40 'link_class' => '', 41 'alt' => '', 42 'prefix' => '', 43 'suffix' => '', 44 'target' => '', 45 'help' => '', 46 'trim' => 0, 47 'max_length' => '', 48 'word_boundary' => 1, 49 'ellipsis' => 1, 50 'strip_tags' => 0, 51 'html' => 0, 52 ), 53 'empty' => '', 54 'hide_empty' => 0, 55 'empty_zero' => 0, 56 'link_to_node' => 1, 57 'exclude' => 0, 58 'id' => 'title', 59 'table' => 'node', 60 'field' => 'title', 61 'relationship' => 'pid', 62 ), 63 'version' => array( 64 'label' => 'Version', 65 'alter' => array( 66 'alter_text' => 0, 67 'text' => '', 68 'make_link' => 0, 69 'path' => '', 70 'link_class' => '', 71 'alt' => '', 72 'prefix' => '', 73 'suffix' => '', 74 'target' => '', 75 'help' => '', 76 'trim' => 0, 77 'max_length' => '', 78 'word_boundary' => 1, 79 'ellipsis' => 1, 80 'strip_tags' => 0, 81 'html' => 0, 82 ), 83 'empty' => '', 84 'hide_empty' => 0, 85 'empty_zero' => 0, 86 'link_to_node' => 1, 87 'exclude' => 0, 88 'id' => 'version', 89 'table' => 'project_release_nodes', 90 'field' => 'version', 91 'relationship' => 'none', 92 ), 93 'update_status' => array( 94 'label' => 'Status', 95 'alter' => array( 96 'alter_text' => 0, 97 'text' => '', 98 'make_link' => 0, 99 'path' => '', 100 'link_class' => '', 101 'alt' => '', 102 'prefix' => '', 103 'suffix' => '', 104 'target' => '', 105 'help' => '', 106 'trim' => 0, 107 'max_length' => '', 108 'word_boundary' => 1, 109 'ellipsis' => 1, 110 'strip_tags' => 0, 111 'html' => 0, 112 ), 113 'empty' => '', 114 'hide_empty' => 0, 115 'empty_zero' => 0, 116 'update_status_icon' => 0, 117 'exclude' => 0, 118 'id' => 'update_status', 119 'table' => 'project_release_nodes', 120 'field' => 'update_status', 121 'relationship' => 'none', 122 ), 123 )); 124 $handler->override_option('sorts', array( 125 'update_status' => array( 126 'order' => 'DESC', 127 'id' => 'update_status', 128 'table' => 'project_release_nodes', 129 'field' => 'update_status', 130 'relationship' => 'none', 131 ), 132 'title' => array( 133 'order' => 'ASC', 134 'id' => 'title', 135 'table' => 'node', 136 'field' => 'title', 137 'relationship' => 'pid', 138 ), 139 )); 140 $handler->override_option('arguments', array( 141 'nid' => array( 142 'default_action' => 'not found', 143 'style_plugin' => 'default_summary', 144 'style_options' => array(), 145 'wildcard' => 'all', 146 'wildcard_substitution' => 'All', 147 'title' => 'Releases contained in %1', 148 'breadcrumb' => '', 149 'default_argument_type' => 'fixed', 150 'default_argument' => '', 151 'validate_type' => 'node', 152 'validate_fail' => 'not found', 153 'break_phrase' => 0, 154 'not' => 0, 155 'id' => 'nid', 156 'table' => 'node', 157 'field' => 'nid', 158 'validate_user_argument_type' => 'uid', 159 'validate_user_roles' => array(), 160 'relationship' => 'package_nid', 161 'default_options_div_prefix' => '', 162 'default_argument_user' => 0, 163 'default_argument_fixed' => '', 164 'default_argument_php' => '', 165 'validate_argument_node_type' => array( 166 'project_release' => 'project_release', 167 ), 168 'validate_argument_node_access' => 0, 169 'validate_argument_nid_type' => 'nid', 170 'validate_argument_vocabulary' => array(), 171 'validate_argument_type' => 'tid', 172 'validate_argument_transform' => 0, 173 'validate_user_restrict_roles' => 0, 174 'validate_argument_project_term_vocabulary' => array(), 175 'validate_argument_project_term_argument_type' => 'tid', 176 'validate_argument_project_term_argument_action_top_without' => 'pass', 177 'validate_argument_project_term_argument_action_top_with' => 'pass', 178 'validate_argument_project_term_argument_action_child' => 'pass', 179 'validate_argument_php' => '', 180 ), 181 )); 182 $handler->override_option('filters', array( 183 'status_extra' => array( 184 'operator' => '=', 185 'value' => '', 186 'group' => '0', 187 'exposed' => FALSE, 188 'expose' => array( 189 'operator' => FALSE, 190 'label' => '', 191 ), 192 'id' => 'status_extra', 193 'table' => 'node', 194 'field' => 'status_extra', 195 'relationship' => 'none', 196 ), 197 )); 198 $handler->override_option('access', array( 199 'type' => 'none', 200 )); 201 $handler->override_option('cache', array( 202 'type' => 'none', 203 )); 204 $handler->override_option('items_per_page', 0); 205 $handler->override_option('style_plugin', 'project_release_table'); 206 $handler->override_option('style_options', array( 207 'grouping' => '', 208 'override' => 1, 209 'sticky' => 0, 210 'order' => 'asc', 211 'columns' => array( 212 'title' => 'title', 213 'version' => 'version', 214 'update_status' => 'update_status', 215 ), 216 'info' => array( 217 'title' => array( 218 'sortable' => 1, 219 'separator' => '', 220 ), 221 'version' => array( 222 'sortable' => 1, 223 'separator' => '', 224 ), 225 'update_status' => array( 226 'sortable' => 1, 227 'separator' => '', 228 ), 229 ), 230 'default' => '-1', 231 ));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |