Add tag relation type display_subject
This commit is contained in:
parent
c3d4f3f03a
commit
f9366b686e
2
l18n
2
l18n
|
@ -1 +1 @@
|
|||
Subproject commit 64e2ae642a90aa1ecee9cd17abde3a8cf55b54d9
|
||||
Subproject commit 80bc9b0b98b2bc58f0d9de1ed61ca42a52730525
|
|
@ -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"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user