*/ declare(strict_types = 1); /** * Class containing available place types. */ final class MDPhoneTypesSet extends MDValueSet { public const DEFAULT_PHONE_TYPE = 'work'; public const PHONE_TYPES = [ 'work', 'home', 'mobile', 'work mobile', 'fax', 'fax work', ]; /** * Gets an unsorted list of the entries in a translated version. * * @param MDTlLoader $tlLoader Translation loader. * * @return array */ public static function getUnsortedList(MDTlLoader $tlLoader):array { return parent::getTlUnsortedList($tlLoader, self::PHONE_TYPES, "phone_types", "phone_types"); } /** * Gets a 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::PHONE_TYPES, "phone_types", "phone_types"); } }