diff --git a/l18n b/l18n index 7a97fb5..fd572dd 160000 --- a/l18n +++ b/l18n @@ -1 +1 @@ -Subproject commit 7a97fb5961d17e0bf4e6186a79e248fa62680350 +Subproject commit fd572dd64f531cbc64755efc9c1cefecc9f8e096 diff --git a/src/MDObjectPublicationBackgrounds.php b/src/MDObjectPublicationBackgrounds.php new file mode 100644 index 0000000..015034c --- /dev/null +++ b/src/MDObjectPublicationBackgrounds.php @@ -0,0 +1,35 @@ + + */ +declare(strict_types = 1); + +/** + * Class containing available marking types. + */ +class MDObjectPublicationBackgrounds extends MDValueSet { + + const PUBLICATION_BACKGROUNDS = [ + '0', // Image published + '1', // Transcript published + '2', // Discussed + '3', // Rezensiert + '4', // Referenced + '5', // Advertised + ]; + + /** + * Gets a sorted list of the entries in a translated version. + * + * @param MDTlLoader $tlLoader Translation loader. + * + * @return array + */ + public static function getSortedList(MDTlLoader $tlLoader):array { + return parent::getTlSortedList($tlLoader, self::PUBLICATION_BACKGROUNDS, "object_publication_background", "object_publication_background"); + + } + +}