2020-08-06 14:57:46 +02:00
|
|
|
<?PHP
|
|
|
|
/**
|
|
|
|
* Contains a class for controlling the list of available marking types.
|
|
|
|
*
|
|
|
|
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class containing available marking types.
|
|
|
|
*/
|
2020-08-06 18:27:25 +02:00
|
|
|
class MDMarkingTypesSet extends MDValueSet {
|
2020-08-06 14:57:46 +02:00
|
|
|
|
|
|
|
const MARKING_TYPES = [
|
|
|
|
'signature',
|
|
|
|
'engraving',
|
|
|
|
'watermark',
|
|
|
|
'scratch',
|
|
|
|
'stamp',
|
|
|
|
'overprint',
|
2020-08-06 15:22:23 +02:00
|
|
|
'embossing',
|
|
|
|
'handwritten',
|
2020-08-06 14:57:46 +02:00
|
|
|
];
|
|
|
|
|
2020-08-06 18:27:25 +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 {
|
|
|
|
return parent::getSortedList($tlLoader, self::MARKING_TYPES, "marking_types", "marking_types");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-08-06 14:57:46 +02:00
|
|
|
}
|