Extend list of series contributor roles
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: 9a92d4fdda...7dad733945
@@ -27,6 +27,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
|
|||||||
case actor;
|
case actor;
|
||||||
case painter;
|
case painter;
|
||||||
case creator;
|
case creator;
|
||||||
|
case equipment_supplier;
|
||||||
|
case contributing_institution;
|
||||||
|
case event_organizer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a value of this type based on a string.
|
* Returns a value of this type based on a string.
|
||||||
@@ -54,6 +57,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
|
|||||||
"actor" => self::actor,
|
"actor" => self::actor,
|
||||||
"painter" => self::painter,
|
"painter" => self::painter,
|
||||||
"creator" => self::creator,
|
"creator" => self::creator,
|
||||||
|
"equipment_supplier" => self::equipment_supplier,
|
||||||
|
"contributing_institution" => self::contributing_institution,
|
||||||
|
"event_organizer" => self::event_organizer,
|
||||||
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
|
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -85,6 +91,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
|
|||||||
13 => self::actor,
|
13 => self::actor,
|
||||||
14 => self::painter,
|
14 => self::painter,
|
||||||
15 => self::creator,
|
15 => self::creator,
|
||||||
|
16 => self::equipment_supplier,
|
||||||
|
17 => self::contributing_institution,
|
||||||
|
18 => self::event_organizer,
|
||||||
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
|
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -174,6 +183,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
|
|||||||
self::actor => 13,
|
self::actor => 13,
|
||||||
self::painter => 14,
|
self::painter => 14,
|
||||||
self::creator => 15,
|
self::creator => 15,
|
||||||
|
self::equipment_supplier => 16,
|
||||||
|
self::contributing_institution => 17,
|
||||||
|
self::event_organizer => 18,
|
||||||
# default => throw new MDpageParameterNotFromListException("Unknown object record status"),
|
# default => throw new MDpageParameterNotFromListException("Unknown object record status"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user