Add tag relation type display_subject
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: 64e2ae642a...80bc9b0b98
@ -17,6 +17,7 @@ enum MDTagRelationType implements MDValueEnumInterface, JsonSerializable {
|
||||
case object_type;
|
||||
case material;
|
||||
case technique;
|
||||
case display_subject;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@ -32,6 +33,7 @@ enum MDTagRelationType implements MDValueEnumInterface, JsonSerializable {
|
||||
'object_type' => self::object_type,
|
||||
'material' => self::material,
|
||||
'technique' => self::technique,
|
||||
'display_subject' => self::display_subject,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown tag relation type"),
|
||||
};
|
||||
|
||||
@ -51,6 +53,7 @@ enum MDTagRelationType implements MDValueEnumInterface, JsonSerializable {
|
||||
1 => self::object_type,
|
||||
2 => self::material,
|
||||
3 => self::technique,
|
||||
4 => self::display_subject,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown tag relation type"),
|
||||
};
|
||||
|
||||
@ -115,6 +118,7 @@ enum MDTagRelationType implements MDValueEnumInterface, JsonSerializable {
|
||||
self::object_type => 1,
|
||||
self::material => 2,
|
||||
self::technique => 3,
|
||||
self::display_subject => 4,
|
||||
// default => throw new MDpageParameterNotFromListException("Unknown tag relation type"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user