2021-10-09 14:07:35 +02:00
|
|
|
<?PHP
|
|
|
|
/**
|
|
|
|
* Research status.
|
|
|
|
*
|
|
|
|
* @see https://tools.ietf.org/html/rfc2426
|
|
|
|
* @see https://tools.ietf.org/html/rfc6350
|
|
|
|
*
|
|
|
|
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
|
|
|
*/
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class containing available place types.
|
|
|
|
*/
|
|
|
|
final class MDResearchStatusSet extends MDValueSet {
|
|
|
|
|
|
|
|
const RESEARCH_STATUS = [
|
|
|
|
'bad',
|
|
|
|
'medium',
|
|
|
|
'good',
|
|
|
|
];
|
|
|
|
|
2021-10-09 15:05:45 +02:00
|
|
|
/**
|
|
|
|
* Returns a translated list of research status.
|
|
|
|
*
|
|
|
|
* @param MDTlLoader $tlLoader Translation loader.
|
|
|
|
*
|
|
|
|
* @return array<string>
|
|
|
|
*/
|
|
|
|
public static function getResearchStatusTLed(MDTlLoader $tlLoader):array {
|
|
|
|
return parent::getTlUnsortedList($tlLoader, self::RESEARCH_STATUS, "research_status", "research_status");
|
|
|
|
|
|
|
|
}
|
2021-10-09 14:07:35 +02:00
|
|
|
}
|