Commit e79afd33 authored by Jeroen's avatar Jeroen

Added and edited some comments

parent 9b2c0a41
Pipeline #1349 passed with stage
in 1 second
......@@ -80,6 +80,11 @@ class Synonym{
return $name;
}
/**
* Get the ISO (short)code of a country based on an id
* @param string $id The id of the country from whom we want to have the shortcode
* @return string $iso The iso of the country
*/
public function countryIdToISO( $id ) {
$stmt = DB::conn()->prepare( 'SELECT short FROM Country WHERE id=?' );
$stmt->bind_param( 'i' , $id);
......@@ -132,7 +137,7 @@ class Synonym{
'edri-member' => 'edri_status',
'country' => 'country',
'number-of-employees' => 'number_of_employees',
'noe' => 'number_of_employees', // Short for Number of Employee
'noe' => 'number_of_employees',
'legal-status' => 'legal_status',
'fte' => 'fte',
'ngo' => 'ngo',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment