| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 $content[type] = array ( 2 'name' => 'Event', 3 'type' => 'event', 4 'description' => 'Events have a start date and an optional end date.', 5 'title_label' => 'Title', 6 'body_label' => 'Body', 7 'min_word_count' => '0', 8 'help' => '', 9 'node_options' => 10 array ( 11 'status' => true, 12 'promote' => true, 13 'sticky' => false, 14 'revision' => false, 15 ), 16 'comment' => 2, 17 'old_type' => 'event', 18 'orig_type' => 'event', 19 'module' => 'node', 20 'custom' => '1', 21 'modified' => '1', 22 'locked' => '0', 23 ); 24 $content[fields] = array ( 25 0 => 26 array ( 27 'label' => 'Date', 28 'field_name' => 'field_event_date', 29 'type' => 'date', 30 'widget_type' => 'date_select', 31 'change' => 'Change basic information', 32 'weight' => '-2', 33 'default_value' => 'now', 34 'default_value_code' => '', 35 'default_value2' => 'blank', 36 'default_value_code2' => '', 37 'input_format' => 'Y-m-d H:i:s', 38 'input_format_custom' => '', 39 'year_range' => '-3:+3', 40 'increment' => '15', 41 'advanced' => 42 array ( 43 'label_position' => 'above', 44 'text_parts' => 45 array ( 46 'year' => 0, 47 'month' => 0, 48 'day' => 0, 49 'hour' => 0, 50 'minute' => 0, 51 'second' => 0, 52 ), 53 ), 54 'label_position' => 'above', 55 'text_parts' => 56 array ( 57 ), 58 'description' => '', 59 'group' => false, 60 'required' => 0, 61 'multiple' => '0', 62 'repeat' => 0, 63 'todate' => 'optional', 64 'granularity' => 65 array ( 66 'year' => 'year', 67 'month' => 'month', 68 'day' => 'day', 69 'hour' => 'hour', 70 'minute' => 'minute', 71 ), 72 'output_format_date' => 'l, j F, Y - H:i', 73 'output_format_custom' => '', 74 'output_format_date_long' => 'l, F j, Y - H:i', 75 'output_format_custom_long' => '', 76 'output_format_date_medium' => 'D, m/d/Y - H:i', 77 'output_format_custom_medium' => '', 78 'output_format_date_short' => 'm/d/Y - H:i', 79 'output_format_custom_short' => '', 80 'tz_handling' => 'date', 81 'timezone_db' => 'UTC', 82 'repeat_collapsed' => '0', 83 'op' => 'Save field settings', 84 'module' => 'date', 85 'widget_module' => 'date', 86 'columns' => 87 array ( 88 'value' => 89 array ( 90 'type' => 'varchar', 91 'length' => 20, 92 'not null' => false, 93 'sortable' => true, 94 ), 95 'value2' => 96 array ( 97 'type' => 'varchar', 98 'length' => 20, 99 'not null' => false, 100 'sortable' => true, 101 ), 102 'timezone' => 103 array ( 104 'type' => 'varchar', 105 'length' => 50, 106 'not null' => false, 107 'sortable' => true, 108 ), 109 'offset' => 110 array ( 111 'type' => 'int', 112 'not null' => false, 113 'sortable' => true, 114 ), 115 'offset2' => 116 array ( 117 'type' => 'int', 118 'not null' => false, 119 'sortable' => true, 120 ), 121 ), 122 'display_settings' => 123 array ( 124 'label' => 125 array ( 126 'format' => 'above', 127 ), 128 'teaser' => 129 array ( 130 'format' => 'default', 131 ), 132 'full' => 133 array ( 134 'format' => 'default', 135 ), 136 4 => 137 array ( 138 'format' => 'default', 139 ), 140 ), 141 ), 142 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |