Many changes...

This commit is contained in:
2014-10-10 22:32:41 +11:00
parent ba8bdca1ec
commit 09291b99fc
7 changed files with 150 additions and 14 deletions

View File

@@ -169,6 +169,16 @@ function _booking_readinggroup_colour_lookup($input = NULL)
return $group;
}
/**
* Helper function to provide an array of genders
*/
function _booking_gender_options() {
$options_array = array();
$options_array['M'] = 'Male';
$options_array['F'] = 'Female';
return $options_array;
}
/**
* Helper function to reliably (without using any external APIs) provide a list of options for the country field used in the registration form
*/