-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnewFaculty.php
21 lines (15 loc) · 1016 Bytes
/
newFaculty.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
use \Vanderbilt\CareerDevLibrary\Application;
require_once(dirname(__FILE__)."/small_base.php");
require_once(dirname(__FILE__)."/classes/Autoload.php");
header('Content-Type: text/csv');
header('Content-Disposition: attachment; filename="newScholars.csv"');
$additionalFields = array();
if (Application::getSetting("grant_class", $pid) == "T") {
$additionalFields[] = "First Day of Training at Institution (MM-DD-YYYY)";
}
echo "First Name,Preferred Name,Middle Name,Last Name,Email,Additional Institution(s),Gender [Male or Female],Date-of-Birth [MM-DD-YYYY],Race [American Indian or Alaska Native; Asian; Native Hawaiian or Other Pacific Islander; Black or African American; White; More Than One Race; or Other],Ethnicity [Hispanic/Latino or Non-Hispanic],Disadvantaged [Y; N; or Prefer Not To Answer],Disability [Y or N],Citizenship [US born; Acquired US; Permanent US Residency; or Temporary Visa],Primary Mentor,ORCID";
foreach ($additionalFields as $field) {
echo ",".$field;
}
echo "\n";