$view = new stdClass(); $view->name = 'user_list'; $view->description = ''; $view->access = array ( ); $view->view_args_php = ''; $view->page = TRUE; $view->page_title = ''; $view->page_header = ''; $view->page_header_format = '1'; $view->page_footer = ''; $view->page_footer_format = '1'; $view->page_empty = ''; $view->page_empty_format = '1'; $view->page_type = 'table'; $view->url = 'views/userlisting'; $view->use_pager = TRUE; $view->nodes_per_page = '10'; $view->menu = TRUE; $view->menu_title = 'Employee Directory'; $view->menu_tab = FALSE; $view->menu_tab_weight = '0'; $view->menu_tab_default = FALSE; $view->menu_tab_default_parent = NULL; $view->menu_tab_default_parent_type = 'tab'; $view->menu_parent_tab_weight = '0'; $view->menu_parent_title = ''; $view->sort = array ( ); $view->argument = array ( ); $view->field = array ( array ( 'tablename' => 'node_data_field_account_url', 'field' => 'field_account_url_value', 'label' => 'Profile', 'handler' => 'content_views_field_handler_ungroup', 'options' => 'default', ), array ( 'tablename' => 'profile_AD_name', 'field' => 'value', 'label' => 'Name', 'sortable' => '1', ), array ( 'tablename' => 'profile_AD_title', 'field' => 'value', 'label' => 'Title', 'sortable' => '1', ), array ( 'tablename' => 'profile_AD_dept', 'field' => 'value', 'label' => 'Department', 'sortable' => '1', ), array ( 'tablename' => 'profile_AD_telephone', 'field' => 'value', 'label' => 'Telephone', ), array ( 'tablename' => 'profile_AD_email', 'field' => 'value', 'label' => 'E-Mail', ), ); $view->filter = array ( array ( 'tablename' => 'node', 'field' => 'type', 'operator' => 'OR', 'options' => '', 'value' => array ( 0 => 'uprofile', ), ), array ( 'tablename' => 'node_data_field_education', 'field' => 'field_education_value_like', 'operator' => 'word', 'options' => '', 'value' => '', ), array ( 'tablename' => 'node_data_field_research_interests', 'field' => 'field_research_interests_value_like', 'operator' => 'word', 'options' => '', 'value' => '', ), array ( 'tablename' => 'node_data_field_research_experience', 'field' => 'field_research_experience_value_like', 'operator' => 'word', 'options' => '', 'value' => '', ), array ( 'tablename' => 'node_data_field_research_publications', 'field' => 'field_research_publications_value_like', 'operator' => 'word', 'options' => '', 'value' => '', ), array ( 'tablename' => 'profile_AD_dept', 'field' => 'value', 'operator' => 'word', 'options' => '', 'value' => '', ), array ( 'tablename' => 'node', 'field' => 'title', 'operator' => 'not', 'options' => '', 'value' => 'admin', ), ); $view->exposed_filter = array ( array ( 'tablename' => 'node_data_field_education', 'field' => 'field_education_value_like', 'label' => 'Education', 'optional' => '1', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), array ( 'tablename' => 'node_data_field_research_interests', 'field' => 'field_research_interests_value_like', 'label' => 'Research Interests', 'optional' => '1', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), array ( 'tablename' => 'node_data_field_research_experience', 'field' => 'field_research_experience_value_like', 'label' => 'Research Experience', 'optional' => '1', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), array ( 'tablename' => 'node_data_field_research_publications', 'field' => 'field_research_publications_value_like', 'label' => 'Publications', 'optional' => '1', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), array ( 'tablename' => 'profile_AD_dept', 'field' => 'value', 'label' => 'Department', 'optional' => '1', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), ); $view->requires = array(node_data_field_account_url, profile_AD_name, profile_AD_title, profile_AD_dept, profile_AD_telephone, profile_AD_email, node, node_data_field_education, node_data_field_research_interests, node_data_field_research_experience, node_data_field_research_publications); $views[$view->name] = $view;