app/GedcomCode/GedcomCodeStat.php
public static function statusNames(string $tag): array
    {
        $status_names = [];
        foreach (self::statusCodes($tag) as $status_code) {
            $status_names[$status_code] = self::statusName($status_code);
        }
        uasort($status_names, '\Fisharebest\Webtrees\I18N::strcasecmp');

        return $status_names;
    }
public static function statusNames(string $tag): array
    {
        $status_names = [];
        foreach (self::statusCodes($tag) as $status_code) {
            $status_names[$status_code] = self::statusName($status_code);
        }
        uasort($status_names, '\Fisharebest\Webtrees\I18N::strcasecmp');

        return $status_names;
    }
public static function statusNames ( string $ tag ) : array { $ status_names = [ ] ; foreach ( self :: statusCodes ( $ tag ) as $ status_code ) { $ status_names [ $ status_code ] = self :: statusName ( $ status_code ) ; } uasort ( $ status_names , '\Fisharebest\Webtrees\I18N::strcasecmp' ) ; return $ status_names ; }
A sorted list of all status names, for a given GEDCOM tag

@param string $tag

@return string[]
A sorted list of all status names for a given GEDCOM tag