Add basic institution category: univ. collection
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: e863da6ffe...9a92d4fdda
@ -16,6 +16,7 @@ enum MDInstitutionBasicCategory implements MDValueEnumInterface, JsonSerializabl
|
||||
case library;
|
||||
case memorial_site;
|
||||
case private_collection;
|
||||
case university_collection;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@ -32,6 +33,7 @@ enum MDInstitutionBasicCategory implements MDValueEnumInterface, JsonSerializabl
|
||||
"library" => self::library,
|
||||
"memorial_site" => self::memorial_site,
|
||||
"private_collection" => self::private_collection,
|
||||
"university_collection" => self::university_collection,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown institution category"),
|
||||
};
|
||||
|
||||
@ -52,6 +54,7 @@ enum MDInstitutionBasicCategory implements MDValueEnumInterface, JsonSerializabl
|
||||
2 => self::library,
|
||||
3 => self::memorial_site,
|
||||
4 => self::private_collection,
|
||||
5 => self::university_collection,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown institution category"),
|
||||
};
|
||||
|
||||
@ -130,6 +133,7 @@ enum MDInstitutionBasicCategory implements MDValueEnumInterface, JsonSerializabl
|
||||
self::library => 2,
|
||||
self::memorial_site => 3,
|
||||
self::private_collection => 4,
|
||||
self::university_collection => 5,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown object record status"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user