Created
June 12, 2012 09:33
-
-
Save baxang/2916502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$view = new view; | |
$view->name = 'advocacy_db'; | |
$view->description = 'Advocacy Database'; | |
$view->tag = ''; | |
$view->view_php = ''; | |
$view->base_table = 'node'; | |
$view->is_cacheable = FALSE; | |
$view->api_version = 2; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
$handler = $view->new_display('default', 'Defaults', 'default'); | |
$handler->override_option('fields', array( | |
'nid' => array( | |
'label' => 'Nid', | |
'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_node' => 0, | |
'exclude' => 0, | |
'id' => 'nid', | |
'table' => 'node', | |
'field' => 'nid', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_casenum_value' => array( | |
'label' => 'Case #.', | |
'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_node' => 0, | |
'label_type' => 'custom', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_casenum_value', | |
'table' => 'node_data_field_av_casenum', | |
'field' => 'field_av_casenum_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_firstname_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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_firstname_value', | |
'table' => 'node_data_field_av_firstname', | |
'field' => 'field_av_firstname_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_surname_value' => array( | |
'label' => 'Surname', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_surname_value', | |
'table' => 'node_data_field_av_surname', | |
'field' => 'field_av_surname_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_faculty_value' => array( | |
'label' => 'Faculty / School', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_faculty_value', | |
'table' => 'node_data_field_av_faculty', | |
'field' => 'field_av_faculty_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_course_value' => array( | |
'label' => 'Course', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_course_value', | |
'table' => 'node_data_field_av_course', | |
'field' => 'field_av_course_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_referrals_value' => array( | |
'label' => 'Referrals', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_referrals_value', | |
'table' => 'node_data_field_av_referrals', | |
'field' => 'field_av_referrals_value', | |
'relationship' => 'none', | |
), | |
'field_av_regissue_value' => array( | |
'label' => 'Regulation issue', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_regissue_value', | |
'table' => 'node_data_field_av_regissue', | |
'field' => 'field_av_regissue_value', | |
'relationship' => 'none', | |
'override' => array( | |
'button' => 'Override', | |
), | |
), | |
'field_av_relstaff_value' => array( | |
'label' => 'Relevant Swinburne Staff', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_relstaff_value', | |
'table' => 'node_data_field_av_relstaff', | |
'field' => 'field_av_relstaff_value', | |
'relationship' => 'none', | |
), | |
'view_node_1' => array( | |
'label' => 'Detail', | |
'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, | |
'text' => 'view', | |
'exclude' => 0, | |
'id' => 'view_node_1', | |
'table' => 'node', | |
'field' => 'view_node', | |
'relationship' => 'none', | |
), | |
'edit_node' => array( | |
'label' => 'Edit', | |
'alter' => array( | |
'alter_text' => 0, | |
'text' => '', | |
'make_link' => 1, | |
'path' => 'node/[nid]/edit?destination=advocacy/database', | |
'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, | |
'text' => '', | |
'exclude' => 0, | |
'id' => 'edit_node', | |
'table' => 'node', | |
'field' => 'edit_node', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'view_node' => array( | |
'label' => 'PDF', | |
'alter' => array( | |
'alter_text' => 1, | |
'text' => 'download', | |
'make_link' => 1, | |
'path' => 'printpdf/[nid]', | |
'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, | |
'text' => '', | |
'exclude' => 0, | |
'id' => 'view_node', | |
'table' => 'node', | |
'field' => 'view_node', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_closed_value' => array( | |
'label' => 'Case closed', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_closed_value', | |
'table' => 'node_data_field_av_closed', | |
'field' => 'field_av_closed_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('sorts', array( | |
'field_av_casenum_value' => array( | |
'id' => 'field_av_casenum_value', | |
'table' => 'node_data_field_av_casenum', | |
'field' => 'field_av_casenum_value', | |
), | |
)); | |
$handler->override_option('filters', array( | |
'type' => array( | |
'operator' => 'in', | |
'value' => array( | |
'advocacy' => 'advocacy', | |
), | |
'group' => '0', | |
'exposed' => FALSE, | |
'expose' => array( | |
'operator' => FALSE, | |
'label' => '', | |
), | |
'id' => 'type', | |
'table' => 'node', | |
'field' => 'type', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_closed_value' => array( | |
'operator' => '=', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_closed_value_op', | |
'identifier' => 'field_av_closed_value', | |
'label' => 'Case closed', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'field_av_closed_value', | |
'table' => 'node_data_field_av_closed', | |
'field' => 'field_av_closed_value', | |
'relationship' => 'none', | |
), | |
'field_av_datestart_value' => array( | |
'operator' => '=', | |
'value' => array( | |
'min' => '2011-01-01 00:00:00', | |
'max' => '2011-01-01 00:00:00', | |
'value' => NULL, | |
'default_date' => '', | |
'default_to_date' => '', | |
), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'operator' => 'field_av_datestart_value_op', | |
'label' => 'Year', | |
'use_operator' => 0, | |
'identifier' => 'field_av_datestart_value', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'date_fields' => array( | |
'node_data_field_av_datestart.field_av_datestart_value' => 'node_data_field_av_datestart.field_av_datestart_value', | |
), | |
'date_method' => 'OR', | |
'granularity' => 'year', | |
'form_type' => 'date_select', | |
'default_date' => '', | |
'default_to_date' => '', | |
'year_range' => '-3:+3', | |
'id' => 'field_av_datestart_value', | |
'table' => 'node_data_field_av_datestart', | |
'field' => 'field_av_datestart_value', | |
'relationship' => 'none', | |
), | |
'field_av_casenum_value' => array( | |
'operator' => '=', | |
'value' => array( | |
'value' => '', | |
'min' => '', | |
'max' => '', | |
), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_casenum_value_op', | |
'identifier' => 'field_av_casenum_value', | |
'label' => 'Case #.', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'id' => 'field_av_casenum_value', | |
'table' => 'node_data_field_av_casenum', | |
'field' => 'field_av_casenum_value', | |
'relationship' => 'none', | |
'override' => array( | |
'button' => 'Override', | |
), | |
), | |
'field_av_studentid_value' => array( | |
'operator' => '=', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_studentid_value_op', | |
'identifier' => 'field_av_studentid_value', | |
'label' => 'Student ID', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'field_av_studentid_value', | |
'table' => 'node_data_field_av_studentid', | |
'field' => 'field_av_studentid_value', | |
'relationship' => 'none', | |
), | |
'field_av_firstname_value' => array( | |
'operator' => 'contains', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_firstname_value_op', | |
'identifier' => 'field_av_firstname_value', | |
'label' => 'First Name', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'field_av_firstname_value', | |
'table' => 'node_data_field_av_firstname', | |
'field' => 'field_av_firstname_value', | |
'relationship' => 'none', | |
), | |
'field_av_surname_value' => array( | |
'operator' => 'contains', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_surname_value_op', | |
'identifier' => 'field_av_surname_value', | |
'label' => 'Surname', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'field_av_surname_value', | |
'table' => 'node_data_field_av_surname', | |
'field' => 'field_av_surname_value', | |
'relationship' => 'none', | |
), | |
'created' => array( | |
'operator' => '>=', | |
'value' => array( | |
'type' => 'date', | |
'value' => '2011-01-01 00:00:00', | |
'min' => '2011-01-01 00:00:00', | |
'max' => '2011-12-31 23:59:59', | |
), | |
'group' => '0', | |
'exposed' => FALSE, | |
'expose' => array( | |
'operator' => 'created_op', | |
'label' => 'Year', | |
'use_operator' => 0, | |
'identifier' => 'created', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'id' => 'created', | |
'table' => 'node', | |
'field' => 'created', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_campus_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_campus_value_many_to_one_op', | |
'identifier' => 'field_av_campus_value_many_to_one', | |
'label' => 'Campus', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_campus_value_many_to_one', | |
'table' => 'node_data_field_av_campus', | |
'field' => 'field_av_campus_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_studenttype_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_studenttype_value_many_to_one_op', | |
'identifier' => 'field_av_studenttype_value_many_to_one', | |
'label' => 'Student type', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_studenttype_value_many_to_one', | |
'table' => 'node_data_field_av_studenttype', | |
'field' => 'field_av_studenttype_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_studytype_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_studytype_value_many_to_one_op', | |
'identifier' => 'field_av_studytype_value_many_to_one', | |
'label' => 'Study type', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_studytype_value_many_to_one', | |
'table' => 'node_data_field_av_studytype', | |
'field' => 'field_av_studytype_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_faculty_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_faculty_value_many_to_one_op', | |
'identifier' => 'field_av_faculty_value_many_to_one', | |
'label' => 'Faculty / School', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_faculty_value_many_to_one', | |
'table' => 'node_data_field_av_faculty', | |
'field' => 'field_av_faculty_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_findout_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_findout_value_many_to_one_op', | |
'identifier' => 'field_av_findout_value_many_to_one', | |
'label' => 'How did you find out about us?', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_findout_value_many_to_one', | |
'table' => 'node_data_field_av_findout', | |
'field' => 'field_av_findout_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_studymode_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_studymode_value_many_to_one_op', | |
'identifier' => 'field_av_studymode_value_many_to_one', | |
'label' => 'Mode of Study', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_studymode_value_many_to_one', | |
'table' => 'node_data_field_av_studymode', | |
'field' => 'field_av_studymode_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_outcome_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_outcome_value_many_to_one_op', | |
'identifier' => 'field_av_outcome_value_many_to_one', | |
'label' => 'Outcome', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_outcome_value_many_to_one', | |
'table' => 'node_data_field_av_outcome', | |
'field' => 'field_av_outcome_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_referrals_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_referrals_value_many_to_one_op', | |
'identifier' => 'field_av_referrals_value_many_to_one', | |
'label' => 'Referrals', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_referrals_value_many_to_one', | |
'table' => 'node_data_field_av_referrals', | |
'field' => 'field_av_referrals_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_regissue_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_regissue_value_many_to_one_op', | |
'identifier' => 'field_av_regissue_value_many_to_one', | |
'label' => 'Regulation issue', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_regissue_value_many_to_one', | |
'table' => 'node_data_field_av_regissue', | |
'field' => 'field_av_regissue_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_studyyear_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_studyyear_value_many_to_one_op', | |
'identifier' => 'field_av_studyyear_value_many_to_one', | |
'label' => 'Study Year', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_studyyear_value_many_to_one', | |
'table' => 'node_data_field_av_studyyear', | |
'field' => 'field_av_studyyear_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_timealloc_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_timealloc_value_many_to_one_op', | |
'identifier' => 'field_av_timealloc_value_many_to_one', | |
'label' => 'Time Allocation', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_timealloc_value_many_to_one', | |
'table' => 'node_data_field_av_timealloc', | |
'field' => 'field_av_timealloc_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
'field_av_transition_value_many_to_one' => array( | |
'operator' => 'or', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'field_av_transition_value_many_to_one_op', | |
'identifier' => 'field_av_transition_value_many_to_one', | |
'label' => 'Transition', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'field_av_transition_value_many_to_one', | |
'table' => 'node_data_field_av_transition', | |
'field' => 'field_av_transition_value_many_to_one', | |
'relationship' => 'none', | |
'reduce_duplicates' => 0, | |
), | |
)); | |
$handler->override_option('access', array( | |
'type' => 'role', | |
'role' => array( | |
'3' => 3, | |
'8' => 8, | |
), | |
)); | |
$handler->override_option('cache', array( | |
'type' => 'none', | |
)); | |
$handler->override_option('header_format', '1'); | |
$handler->override_option('header_empty', 0); | |
$handler->override_option('items_per_page', 0); | |
$handler = $view->new_display('page', 'Page', 'page_1'); | |
$handler->override_option('sorts', array( | |
'nid' => array( | |
'order' => 'DESC', | |
'id' => 'nid', | |
'table' => 'node', | |
'field' => 'nid', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('header', '<h2>Advocacy database</h2>'); | |
$handler->override_option('header_format', '2'); | |
$handler->override_option('header_empty', 1); | |
$handler->override_option('items_per_page', 30); | |
$handler->override_option('use_pager', '1'); | |
$handler->override_option('style_plugin', 'table'); | |
$handler->override_option('style_options', array( | |
'grouping' => '', | |
'override' => 1, | |
'sticky' => 0, | |
'order' => 'asc', | |
'columns' => array( | |
'field_av_casenum_value' => 'field_av_casenum_value', | |
'field_av_firstname_value' => 'field_av_firstname_value', | |
'field_av_surname_value' => 'field_av_surname_value', | |
'field_av_faculty_value' => 'field_av_faculty_value', | |
'field_av_course_value' => 'field_av_course_value', | |
'field_av_referrals_value' => 'field_av_referrals_value', | |
'delta' => 'delta', | |
'field_av_regissue_value' => 'field_av_regissue_value', | |
'delta_1' => 'delta_1', | |
'field_av_relstaff_value' => 'field_av_relstaff_value', | |
), | |
'info' => array( | |
'field_av_casenum_value' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'field_av_firstname_value' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'field_av_surname_value' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'field_av_faculty_value' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'field_av_course_value' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
'field_av_referrals_value' => array( | |
'separator' => '', | |
), | |
'delta' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
'field_av_regissue_value' => array( | |
'separator' => '', | |
), | |
'delta_1' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
'field_av_relstaff_value' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
), | |
'default' => '-1', | |
)); | |
$handler->override_option('path', 'advocacy/database'); | |
$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 = $view->new_display('feed', 'csv', 'feed_1'); | |
$handler->override_option('fields', array( | |
'nid' => array( | |
'label' => 'Nid', | |
'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_node' => 0, | |
'exclude' => 1, | |
'id' => 'nid', | |
'table' => 'node', | |
'field' => 'nid', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_casenum_value' => array( | |
'label' => 'Case #.', | |
'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_node' => 0, | |
'label_type' => 'custom', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_casenum_value', | |
'table' => 'node_data_field_av_casenum', | |
'field' => 'field_av_casenum_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_studentid_value' => array( | |
'label' => 'Student ID', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_studentid_value', | |
'table' => 'node_data_field_av_studentid', | |
'field' => 'field_av_studentid_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_datestart_value' => array( | |
'label' => 'Start Date', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'Ymd', | |
'multiple' => array( | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_to' => '', | |
'group' => '', | |
), | |
'repeat' => array( | |
'show_repeat_rule' => '', | |
), | |
'fromto' => array( | |
'fromto' => 'both', | |
), | |
'exclude' => 0, | |
'id' => 'field_av_datestart_value', | |
'table' => 'node_data_field_av_datestart', | |
'field' => 'field_av_datestart_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_dateclosed_value' => array( | |
'label' => 'Close Date', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'Ymd', | |
'multiple' => array( | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_to' => '', | |
'group' => '', | |
), | |
'repeat' => array( | |
'show_repeat_rule' => '', | |
), | |
'fromto' => array( | |
'fromto' => 'both', | |
), | |
'exclude' => 0, | |
'id' => 'field_av_dateclosed_value', | |
'table' => 'node_data_field_av_dateclosed', | |
'field' => 'field_av_dateclosed_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_firstname_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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_firstname_value', | |
'table' => 'node_data_field_av_firstname', | |
'field' => 'field_av_firstname_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_surname_value' => array( | |
'label' => 'Surname', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_surname_value', | |
'table' => 'node_data_field_av_surname', | |
'field' => 'field_av_surname_value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_email_email' => array( | |
'label' => 'Email', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_email_email', | |
'table' => 'node_data_field_av_email', | |
'field' => 'field_av_email_email', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_mobileno_value' => array( | |
'label' => 'Mobile Number', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_mobileno_value', | |
'table' => 'node_data_field_av_mobileno', | |
'field' => 'field_av_mobileno_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_otherno_value' => array( | |
'label' => 'Other Number', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_otherno_value', | |
'table' => 'node_data_field_av_otherno', | |
'field' => 'field_av_otherno_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_faculty_value' => array( | |
'label' => 'Faculty/School', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_faculty_value', | |
'table' => 'node_data_field_av_faculty', | |
'field' => 'field_av_faculty_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_course_value' => array( | |
'label' => 'Course', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_course_value', | |
'table' => 'node_data_field_av_course', | |
'field' => 'field_av_course_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_subject_value' => array( | |
'label' => 'Subject', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_subject_value', | |
'table' => 'node_data_field_av_subject', | |
'field' => 'field_av_subject_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_relstaff_value' => array( | |
'label' => 'Relevant Swinburne Staff', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_relstaff_value', | |
'table' => 'node_data_field_av_relstaff', | |
'field' => 'field_av_relstaff_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_studyyear_value' => array( | |
'label' => 'Study Year', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_studyyear_value', | |
'table' => 'node_data_field_av_studyyear', | |
'field' => 'field_av_studyyear_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_studymode_value' => array( | |
'label' => 'Mode of Study', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_studymode_value', | |
'table' => 'node_data_field_av_studymode', | |
'field' => 'field_av_studymode_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_campus_value' => array( | |
'label' => 'Campus', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_campus_value', | |
'table' => 'node_data_field_av_campus', | |
'field' => 'field_av_campus_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_studytype_value' => array( | |
'label' => 'Type of Study', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_studytype_value', | |
'table' => 'node_data_field_av_studytype', | |
'field' => 'field_av_studytype_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_studenttype_value' => array( | |
'label' => 'Type of Student', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_studenttype_value', | |
'table' => 'node_data_field_av_studenttype', | |
'field' => 'field_av_studenttype_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_findout_value' => array( | |
'label' => 'How did you find out about us?', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 1, | |
'id' => 'field_av_findout_value', | |
'table' => 'node_data_field_av_findout', | |
'field' => 'field_av_findout_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_findoutother_value' => array( | |
'label' => 'How did you find out us?', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_findoutother_value', | |
'table' => 'node_data_field_av_findoutother', | |
'field' => 'field_av_findoutother_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'phpcode_1' => array( | |
'label' => 'How did you find out about us?', | |
'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, | |
'value' => '<?php | |
$key = \'node_data_field_av_findout_field_av_findout_value\'; | |
$values = array_map(create_function(\'$e\', \'return $e["value"];\'), $data->{$key}); | |
print implode(\',\', $values); | |
?>', | |
'exclude' => 0, | |
'id' => 'phpcode_1', | |
'table' => 'customfield', | |
'field' => 'phpcode', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_regissue_value' => array( | |
'label' => 'Regulation issue', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 1, | |
'id' => 'field_av_regissue_value', | |
'table' => 'node_data_field_av_regissue', | |
'field' => 'field_av_regissue_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'phpcode' => array( | |
'label' => 'Regulation Issue', | |
'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, | |
'value' => '<?php | |
$key = \'node_data_field_av_regissue_field_av_regissue_value\'; | |
$values = array_map(create_function(\'$e\', \'return ssaa_get_label_by_key_or_label("field_av_regissue", $e["value"]);\'), $data->{$key}); | |
print implode(\',\', $values); | |
?>', | |
'exclude' => 0, | |
'id' => 'phpcode', | |
'table' => 'customfield', | |
'field' => 'phpcode', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_regissueother_value' => array( | |
'label' => 'Other Regulation Issue', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_regissueother_value', | |
'table' => 'node_data_field_av_regissueother', | |
'field' => 'field_av_regissueother_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_atthear_value' => array( | |
'label' => 'Attend Hearing?', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_atthear_value', | |
'table' => 'node_data_field_av_atthear', | |
'field' => 'field_av_atthear_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_transition_value' => array( | |
'label' => 'Transition', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_transition_value', | |
'table' => 'node_data_field_av_transition', | |
'field' => 'field_av_transition_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_transntionother_value' => array( | |
'label' => 'Other Transition', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_transntionother_value', | |
'table' => 'node_data_field_av_transntionother', | |
'field' => 'field_av_transntionother_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_referrals_value' => array( | |
'label' => 'Referrals', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 1, | |
'id' => 'field_av_referrals_value', | |
'table' => 'node_data_field_av_referrals', | |
'field' => 'field_av_referrals_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'phpcode_2' => array( | |
'label' => 'Referrals', | |
'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, | |
'value' => '<?php | |
$key = \'node_data_field_av_referrals_field_av_referrals_value\'; | |
$values = array_map(create_function(\'$e\', \'return ssaa_get_label_by_key_or_label("field_av_referrals", $e["value"]);\'), $data->{$key}); | |
print implode(\',\', $values); | |
?>', | |
'exclude' => 0, | |
'id' => 'phpcode_2', | |
'table' => 'customfield', | |
'field' => 'phpcode', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_advocate_value' => array( | |
'label' => 'Advocate', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 1, | |
'id' => 'field_av_advocate_value', | |
'table' => 'node_data_field_av_advocate', | |
'field' => 'field_av_advocate_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'phpcode_3' => array( | |
'label' => 'Advocate', | |
'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, | |
'value' => '<?php | |
$key = \'node_data_field_av_advocate_field_av_advocate_value\'; | |
$values = array_map(create_function(\'$e\', \'return $e["value"];\'), $data->{$key}); | |
print implode(\',\', $values); | |
?>', | |
'exclude' => 0, | |
'id' => 'phpcode_3', | |
'table' => 'customfield', | |
'field' => 'phpcode', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_enteredby_value' => array( | |
'label' => 'Entered By', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_enteredby_value', | |
'table' => 'node_data_field_av_enteredby', | |
'field' => 'field_av_enteredby_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_timealloc_value' => array( | |
'label' => 'Time Allocation', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_timealloc_value', | |
'table' => 'node_data_field_av_timealloc', | |
'field' => 'field_av_timealloc_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_outcome_value' => array( | |
'label' => 'Outcome', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_outcome_value', | |
'table' => 'node_data_field_av_outcome', | |
'field' => 'field_av_outcome_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_closed_value' => array( | |
'label' => 'Case closed', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_closed_value', | |
'table' => 'node_data_field_av_closed', | |
'field' => 'field_av_closed_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_note_value' => array( | |
'label' => 'Note', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => 1, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => 0, | |
), | |
'exclude' => 1, | |
'id' => 'field_av_note_value', | |
'table' => 'node_data_field_av_note', | |
'field' => 'field_av_note_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'phpcode_4' => array( | |
'label' => 'Note', | |
'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, | |
'value' => '<?php | |
$key = \'node_data_field_av_note_field_av_note_value\'; | |
$values = array_map(create_function(\'$e\', \'return $e["value"];\'), $data->{$key}); | |
$values = array_filter($values, create_function(\'$a\', \'return strlen($a) > 0;\')); | |
print implode(" ", $values); | |
?>', | |
'exclude' => 0, | |
'id' => 'phpcode_4', | |
'table' => 'customfield', | |
'field' => 'phpcode', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_followup_value' => array( | |
'label' => 'Follow up Email Sent', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_followup_value', | |
'table' => 'node_data_field_av_followup', | |
'field' => 'field_av_followup_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'field_av_audit_value' => array( | |
'label' => 'Advocacy Audit Email Sent?', | |
'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_node' => 0, | |
'label_type' => 'widget', | |
'format' => 'default', | |
'multiple' => array( | |
'group' => TRUE, | |
'multiple_number' => '', | |
'multiple_from' => '', | |
'multiple_reversed' => FALSE, | |
), | |
'exclude' => 0, | |
'id' => 'field_av_audit_value', | |
'table' => 'node_data_field_av_audit', | |
'field' => 'field_av_audit_value', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('style_plugin', 'views_csv'); | |
$handler->override_option('style_options', array( | |
'mission_description' => FALSE, | |
'description' => '', | |
'attach_text' => 'CSV', | |
'provide_file' => 1, | |
'filename' => 'view-%view.csv', | |
'parent_sort' => 0, | |
'seperator' => ',', | |
'quote' => 1, | |
'header' => 1, | |
)); | |
$handler->override_option('row_plugin', ''); | |
$handler->override_option('path', 'exportcsv'); | |
$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( | |
'page_1' => 'page_1', | |
'default' => 0, | |
)); | |
$handler->override_option('sitename_title', FALSE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$view = new view; | |
$view->name = 'volunteer'; | |
$view->description = 'A list of volunteers for admin'; | |
$view->tag = ''; | |
$view->view_php = ''; | |
$view->base_table = 'users'; | |
$view->is_cacheable = FALSE; | |
$view->api_version = 2; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
$handler = $view->new_display('default', 'Defaults', 'default'); | |
$handler->override_option('fields', array( | |
'uid_1' => array( | |
'label' => '', | |
'alter' => array( | |
'alter_text' => 0, | |
'text' => 'bb<input type="checkbox" name="accounts[uid_1]" class="form-checkbox">dd<a href="#">a</a>', | |
'make_link' => 0, | |
'path' => '', | |
'link_class' => '', | |
'alt' => '', | |
'prefix' => '', | |
'suffix' => '', | |
'target' => '', | |
'help' => '', | |
'trim' => 0, | |
'max_length' => '', | |
'word_boundary' => 1, | |
'ellipsis' => 1, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'uid_1', | |
'table' => 'users', | |
'field' => 'uid', | |
'relationship' => 'none', | |
'override' => array( | |
'button' => 'Override', | |
), | |
), | |
'name' => array( | |
'label' => 'Student ID', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'overwrite_anonymous' => 0, | |
'anonymous_text' => '', | |
'exclude' => 0, | |
'id' => 'name', | |
'table' => 'users', | |
'field' => 'name', | |
'relationship' => 'none', | |
), | |
'value_3' => array( | |
'label' => '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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 1, | |
'exclude' => 0, | |
'id' => 'value_3', | |
'table' => 'profile_values_profile_name', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_4' => array( | |
'label' => 'Phone', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'value_4', | |
'table' => 'profile_values_profile_phone', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_1' => array( | |
'label' => 'Campus', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_1', | |
'table' => 'profile_values_profile_campus', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_7' => array( | |
'label' => 'Intl student', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_7', | |
'table' => 'profile_values_profile_intl', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value' => array( | |
'label' => 'Type', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value', | |
'table' => 'profile_values_profile_studenttype', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_2' => array( | |
'label' => 'Course', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'value_2', | |
'table' => 'profile_values_profile_course', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_5' => array( | |
'label' => 'end of course', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'date_format' => 'custom', | |
'custom_date_format' => 'j D Y', | |
'exclude' => 0, | |
'id' => 'value_5', | |
'table' => 'profile_values_profile_graduate', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_6' => array( | |
'label' => 'Faculty / Department', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_6', | |
'table' => 'profile_values_profile_faculty', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'created' => array( | |
'label' => 'Joined', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'date_format' => 'custom', | |
'custom_date_format' => 'j M Y', | |
'exclude' => 0, | |
'id' => 'created', | |
'table' => 'users', | |
'field' => 'created', | |
'relationship' => 'none', | |
), | |
'uid' => array( | |
'label' => 'Detail', | |
'alter' => array( | |
'alter_text' => 1, | |
'text' => 'detail', | |
'make_link' => 0, | |
'path' => '', | |
'link_class' => '', | |
'alt' => '', | |
'prefix' => '', | |
'suffix' => '', | |
'target' => '', | |
'help' => '', | |
'trim' => 0, | |
'max_length' => '', | |
'word_boundary' => 1, | |
'ellipsis' => 1, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 1, | |
'exclude' => 0, | |
'id' => 'uid', | |
'table' => 'users', | |
'field' => 'uid', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('filters', array( | |
'rid' => array( | |
'operator' => 'not', | |
'value' => array( | |
'11' => '11', | |
'3' => '3', | |
'8' => '8', | |
), | |
'group' => '0', | |
'exposed' => FALSE, | |
'expose' => array( | |
'operator' => FALSE, | |
'label' => '', | |
), | |
'id' => 'rid', | |
'table' => 'users_roles', | |
'field' => 'rid', | |
'relationship' => 'none', | |
'reduce_duplicates' => 1, | |
), | |
'value_2' => array( | |
'operator' => 'in', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_2_op', | |
'identifier' => 'campus', | |
'label' => 'Campus', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'value_2', | |
'table' => 'profile_values_profile_campus', | |
'field' => 'value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'value_3' => array( | |
'operator' => 'contains', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_3_op', | |
'identifier' => 'course', | |
'label' => 'Course', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'value_3', | |
'table' => 'profile_values_profile_course', | |
'field' => 'value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'value_4' => array( | |
'operator' => 'contains', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_4_op', | |
'identifier' => 'realname', | |
'label' => 'Name', | |
'optional' => 1, | |
'remember' => 0, | |
), | |
'case' => 0, | |
'id' => 'value_4', | |
'table' => 'profile_values_profile_name', | |
'field' => 'value', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
'value_1' => array( | |
'operator' => 'in', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_1_op', | |
'identifier' => 'value_1', | |
'label' => 'Intl?', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'value_1', | |
'table' => 'profile_values_profile_intl', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_5' => array( | |
'operator' => 'in', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_5_op', | |
'identifier' => 'value_5', | |
'label' => 'Type', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'value_5', | |
'table' => 'profile_values_profile_studenttype', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_6' => array( | |
'operator' => 'in', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_6_op', | |
'identifier' => 'value_6', | |
'label' => 'Faculty/Department', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'value_6', | |
'table' => 'profile_values_profile_faculty', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_7' => array( | |
'operator' => 'in', | |
'value' => array(), | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'value_7_op', | |
'identifier' => 'value_7', | |
'label' => 'Type', | |
'optional' => 1, | |
'single' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'value_7', | |
'table' => 'profile_values_profile_studenttype', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'uid' => array( | |
'operator' => 'in', | |
'value' => '', | |
'group' => '0', | |
'exposed' => TRUE, | |
'expose' => array( | |
'use_operator' => 0, | |
'operator' => 'uid_op', | |
'identifier' => 'uid', | |
'label' => 'Student ID', | |
'optional' => 1, | |
'remember' => 0, | |
'reduce' => 0, | |
), | |
'id' => 'uid', | |
'table' => 'users', | |
'field' => 'uid', | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('access', array( | |
'type' => 'none', | |
)); | |
$handler->override_option('cache', array( | |
'type' => 'none', | |
)); | |
$handler->override_option('header_format', '3'); | |
$handler->override_option('header_empty', 0); | |
$handler->override_option('footer_format', '3'); | |
$handler->override_option('footer_empty', 0); | |
$handler->override_option('style_plugin', 'table'); | |
$handler->override_option('style_options', array( | |
'grouping' => '', | |
'override' => 1, | |
'sticky' => 0, | |
'order' => 'asc', | |
'columns' => array( | |
'uid_1' => 'uid_1', | |
'name' => 'name', | |
'value_3' => 'value_3', | |
'value_4' => 'value_4', | |
'value_1' => 'value_1', | |
'value_7' => 'value_7', | |
'value' => 'value', | |
'value_2' => 'value_2', | |
'value_5' => 'value_5', | |
'value_6' => 'value_6', | |
'created' => 'created', | |
'uid' => 'uid', | |
), | |
'info' => array( | |
'uid_1' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
'name' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value_3' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value_4' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
'value_1' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value_7' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value_2' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'value_5' => array( | |
'separator' => '', | |
), | |
'value_6' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'created' => array( | |
'sortable' => 1, | |
'separator' => '', | |
), | |
'uid' => array( | |
'sortable' => 0, | |
'separator' => '', | |
), | |
), | |
'default' => 'name', | |
)); | |
$handler = $view->new_display('page', 'Page', 'page_1'); | |
$handler->override_option('access', array( | |
'type' => 'role', | |
'role' => array( | |
'11' => 11, | |
'3' => 3, | |
'8' => 8, | |
), | |
)); | |
$handler->override_option('title', 'List of volunteers'); | |
$handler->override_option('items_per_page', 30); | |
$handler->override_option('use_pager', '1'); | |
$handler->override_option('path', 'volunteering/volunteers'); | |
$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 = $view->new_display('feed', 'Feed', 'feed_1'); | |
$handler->override_option('fields', array( | |
'uid_1' => array( | |
'label' => '', | |
'alter' => array( | |
'alter_text' => 0, | |
'text' => 'bb<input type="checkbox" name="accounts[uid_1]" class="form-checkbox">dd<a href="#">a</a>', | |
'make_link' => 0, | |
'path' => '', | |
'link_class' => '', | |
'alt' => '', | |
'prefix' => '', | |
'suffix' => '', | |
'target' => '', | |
'help' => '', | |
'trim' => 0, | |
'max_length' => '', | |
'word_boundary' => 1, | |
'ellipsis' => 1, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'uid_1', | |
'table' => 'users', | |
'field' => 'uid', | |
'relationship' => 'none', | |
'override' => array( | |
'button' => 'Override', | |
), | |
), | |
'name' => array( | |
'label' => 'Student ID', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'overwrite_anonymous' => 0, | |
'anonymous_text' => '', | |
'exclude' => 0, | |
'id' => 'name', | |
'table' => 'users', | |
'field' => 'name', | |
'relationship' => 'none', | |
), | |
'value_3' => array( | |
'label' => '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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 1, | |
'exclude' => 0, | |
'id' => 'value_3', | |
'table' => 'profile_values_profile_name', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'name_1' => array( | |
'label' => 'Email', | |
'alter' => array( | |
'alter_text' => 1, | |
'text' => '[name]@student.swin.edu.au', | |
'make_link' => 0, | |
'path' => '', | |
'link_class' => '', | |
'alt' => '', | |
'prefix' => '', | |
'suffix' => '', | |
'target' => '', | |
'help' => '', | |
'trim' => 0, | |
'max_length' => '', | |
'word_boundary' => 1, | |
'ellipsis' => 1, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'overwrite_anonymous' => 0, | |
'anonymous_text' => '', | |
'exclude' => 0, | |
'id' => 'name_1', | |
'table' => 'users', | |
'field' => 'name', | |
'override' => array( | |
'button' => 'Use default', | |
), | |
'relationship' => 'none', | |
), | |
'value_4' => array( | |
'label' => 'Phone', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'value_4', | |
'table' => 'profile_values_profile_phone', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_1' => array( | |
'label' => 'Campus', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_1', | |
'table' => 'profile_values_profile_campus', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_7' => array( | |
'label' => 'Intl student', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_7', | |
'table' => 'profile_values_profile_intl', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value' => array( | |
'label' => 'Type', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value', | |
'table' => 'profile_values_profile_studenttype', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_2' => array( | |
'label' => 'Course', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 0, | |
'exclude' => 0, | |
'id' => 'value_2', | |
'table' => 'profile_values_profile_course', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_5' => array( | |
'label' => 'end of course', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'date_format' => 'custom', | |
'custom_date_format' => 'j D Y', | |
'exclude' => 0, | |
'id' => 'value_5', | |
'table' => 'profile_values_profile_graduate', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'value_6' => array( | |
'label' => 'Faculty / Department', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'exclude' => 0, | |
'id' => 'value_6', | |
'table' => 'profile_values_profile_faculty', | |
'field' => 'value', | |
'relationship' => 'none', | |
), | |
'created' => array( | |
'label' => 'Joined', | |
'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, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'date_format' => 'custom', | |
'custom_date_format' => 'j M Y', | |
'exclude' => 0, | |
'id' => 'created', | |
'table' => 'users', | |
'field' => 'created', | |
'relationship' => 'none', | |
), | |
'uid' => array( | |
'label' => 'Detail', | |
'alter' => array( | |
'alter_text' => 1, | |
'text' => 'detail', | |
'make_link' => 0, | |
'path' => '', | |
'link_class' => '', | |
'alt' => '', | |
'prefix' => '', | |
'suffix' => '', | |
'target' => '', | |
'help' => '', | |
'trim' => 0, | |
'max_length' => '', | |
'word_boundary' => 1, | |
'ellipsis' => 1, | |
'strip_tags' => 0, | |
'html' => 0, | |
), | |
'empty' => '', | |
'hide_empty' => 0, | |
'empty_zero' => 0, | |
'link_to_user' => 1, | |
'exclude' => 0, | |
'id' => 'uid', | |
'table' => 'users', | |
'field' => 'uid', | |
'override' => array( | |
'button' => 'Override', | |
), | |
'relationship' => 'none', | |
), | |
)); | |
$handler->override_option('access', array( | |
'type' => 'role', | |
'role' => array( | |
'11' => 11, | |
'3' => 3, | |
'8' => 8, | |
), | |
)); | |
$handler->override_option('items_per_page', 0); | |
$handler->override_option('style_plugin', 'views_csv'); | |
$handler->override_option('style_options', array( | |
'mission_description' => FALSE, | |
'description' => '', | |
'attach_text' => 'CSV', | |
'provide_file' => 1, | |
'filename' => 'volunteer-list.csv', | |
'parent_sort' => 0, | |
'seperator' => ',', | |
'quote' => 1, | |
'header' => 1, | |
)); | |
$handler->override_option('row_plugin', ''); | |
$handler->override_option('path', 'volunteering/volunteers/export'); | |
$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( | |
'page_1' => 'page_1', | |
'default' => 0, | |
)); | |
$handler->override_option('sitename_title', FALSE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment