2022-10-15 15:13:26 +02:00
|
|
|
<?PHP
|
|
|
|
/**
|
|
|
|
* Contains a class for listing the possible types of internal processes in a museum.
|
|
|
|
*
|
|
|
|
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
|
|
|
*/
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contains a class for listing the possible types of internal processes in a museum.
|
|
|
|
*/
|
|
|
|
final class MDProcessTypesSet extends MDValueSet {
|
|
|
|
|
2024-06-11 22:15:59 +02:00
|
|
|
public const TYPES = [
|
2022-10-15 15:13:26 +02:00
|
|
|
'project',
|
|
|
|
'grant_application',
|
|
|
|
'exhibition',
|
|
|
|
'appointment', // This is MD's internally used name for events at the museum
|
|
|
|
'loan_incoming',
|
|
|
|
'loan_outgoing',
|
|
|
|
'employment_ad',
|
|
|
|
'purchase',
|
|
|
|
'deaccession',
|
|
|
|
'construction',
|
|
|
|
'pest_control_campaign',
|
|
|
|
'pr_campaign',
|
|
|
|
'relocation',
|
2022-10-28 00:27:15 +02:00
|
|
|
'discussion',
|
2022-10-15 15:13:26 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets a sorted list of the entries in a translated version.
|
|
|
|
*
|
|
|
|
* @param MDTlLoader $tlLoader Translation loader.
|
|
|
|
*
|
|
|
|
* @return array<string>
|
|
|
|
*/
|
|
|
|
public static function getSortedList(MDTlLoader $tlLoader):array {
|
2022-10-15 23:21:23 +02:00
|
|
|
return parent::getTlSortedList($tlLoader, self::TYPES, "process_types", "process_types");
|
2022-10-15 15:13:26 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|