function EmailSugarFieldTeamsetCollection($bean, $field_defs, $customMethod = "", $form_name = 'EditView')
 {
     parent::ViewSugarFieldTeamsetCollection(false);
     $this->tpl_path = SugarAutoLoader::existingCustomOne('include/SugarFields/Fields/Teamset/TeamsetCollectionEmailView.tpl');
     //$this->module_dir = $module;
     $this->bean_id = $bean->id;
     $this->form_name = $form_name;
     $this->customMethod = $customMethod;
     $this->bean = $bean;
     if (empty($this->bean)) {
         echo "Unable to load module {$module}";
         return;
     }
     //Initialize displayParams
     $this->displayParams['formName'] = $this->form_name;
     $this->displayParams['primaryChecked'] = true;
     $this->vardef = $field_defs['team_name'];
     $this->name = $this->vardef['name'];
     $this->related_module = 'Teams';
     $this->value_name = 'team_set_id_values';
     $this->numFields = 1;
     $this->ss = new Sugar_Smarty();
     $this->extra_var = array();
     $this->field_to_name_array = array();
 }
 function MassUpdateSugarFieldTeamsetCollection($fill_data = false)
 {
     parent::ViewSugarFieldTeamsetCollection($fill_data);
     $this->form_name = 'MassUpdate';
     $this->action_type = 'massupdate';
 }
 function ReportsSugarFieldTeamsetCollection($fill_data = false)
 {
     parent::ViewSugarFieldTeamsetCollection($fill_data);
     $this->form_name = "ReportsWizardForm";
     $this->action_type = 'reports';
 }