add CSV report for earlyaccess codes

This commit is contained in:
2017-06-29 14:35:40 +10:00
parent 241f1e02e2
commit 381d61b85d
3 changed files with 18 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ function booking_earlyaccess_generate_codes() {
* @see https://stackoverflow.com/questions/1846202/php-how-to-generate-a-random-unique-alphanumeric-string
* Requires PHP7
*/
function booking_getToken($length){
function booking_getToken($length) {
$token = "";
$codeAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
//$codeAlphabet.= "abcdefghijklmnopqrstuvwxyz";
@@ -120,4 +120,12 @@ function booking_getToken($length){
}
return $token;
}
/**
* Function to generate csv of early access codes for the current event
*/
function booking_earlyaccess_csv_report() {
}