Skip to content

Commit

Permalink
Added a late reg export to data_export
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn P. Duncan committed Dec 6, 2011
1 parent b84b318 commit e648891
Showing 1 changed file with 202 additions and 0 deletions.
202 changes: 202 additions & 0 deletions sites/all/modules/custom/data_export/data_export.views_default.inc
Expand Up @@ -190,6 +190,11 @@ function data_export_views_default_views() {
'field' => 'uid', 'field' => 'uid',
'relationship' => 'uid', 'relationship' => 'uid',
), ),
'signup_time' => array(
'id' => 'signup_time',
'table' => 'signup_log',
'field' => 'signup_time',
),
)); ));
$handler->override_option('access', array( $handler->override_option('access', array(
'type' => 'perm', 'type' => 'perm',
Expand Down Expand Up @@ -467,6 +472,203 @@ function data_export_views_default_views() {
$handler->override_option('displays', array()); $handler->override_option('displays', array());
$handler->override_option('sitename_title', 0); $handler->override_option('sitename_title', 0);
$handler->override_option('use_batch', TRUE); $handler->override_option('use_batch', TRUE);
$handler = $view->new_display('views_data_export', 'Data export late', 'views_data_export_3');
$handler->override_option('fields', array(
'value' => array(
'label' => 'First name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_user' => 1,
'exclude' => 0,
'id' => 'value',
'table' => 'profile_values_profile_first',
'field' => 'value',
'relationship' => 'uid',
),
'value_1' => array(
'label' => 'Last name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_user' => 1,
'exclude' => 0,
'id' => 'value_1',
'table' => 'profile_values_profile_last',
'field' => 'value',
'relationship' => 'uid',
),
'value_2' => array(
'label' => 'Dietary',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => 'None',
'hide_empty' => 0,
'empty_zero' => 1,
'exclude' => 0,
'id' => 'value_2',
'table' => 'profile_values_profile_diet',
'field' => 'value',
'relationship' => 'uid',
'override' => array(
'button' => 'Use default',
),
),
'value_3' => array(
'label' => 'T-Shirt',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'value_3',
'table' => 'profile_values_profile_shirt',
'field' => 'value',
'relationship' => 'uid',
'override' => array(
'button' => 'Use default',
),
),
));
$handler->override_option('filters', array(
'uid' => array(
'operator' => 'not in',
'value' => array(
0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'uid',
'table' => 'users',
'field' => 'uid',
'relationship' => 'uid',
),
'signup_time' => array(
'operator' => '>',
'value' => array(
'type' => 'date',
'value' => '2011-12-05 00:00:00',
'min' => '',
'max' => '',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'signup_time',
'table' => 'signup_log',
'field' => 'signup_time',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'uid',
),
));
$handler->override_option('title', 'Attendee: All Data');
$handler->override_option('items_per_page', '0');
$handler->override_option('style_plugin', 'views_data_export_csv');
$handler->override_option('style_options', array(
'mission_description' => FALSE,
'description' => '',
));
$handler->override_option('row_plugin', '');
$handler->override_option('path', 'attendee-all/%/csv');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('displays', array());
$handler->override_option('sitename_title', 0);
$handler->override_option('use_batch', TRUE);


$views[$view->name] = $view; $views[$view->name] = $view;


Expand Down

0 comments on commit e648891

Please sign in to comment.