app/Functions/FunctionsEdit.php
public static function optionsRestrictions($include_empty): array
    {
        $options = [
            'none'         => I18N::translate('Show to visitors'),
            'privacy'      => I18N::translate('Show to members'),
            'confidential' => I18N::translate('Show to managers'),
            'locked'       => I18N::translate('Only managers can edit'),
        ];

        if ($include_empty) {
            $options = ['' => ''] + $options;
        }

        return $options;
    }
public static function optionsRestrictions($include_empty): array
    {
        $options = [
            'none'         => I18N::translate('Show to visitors'),
            'privacy'      => I18N::translate('Show to members'),
            'confidential' => I18N::translate('Show to managers'),
            'locked'       => I18N::translate('Only managers can edit'),
        ];

        if ($include_empty) {
            $options = ['' => ''] + $options;
        }

        return $options;
    }
public static function optionsRestrictions ( $ include_empty ) : array { $ options = [ 'none' => I18N :: translate ( 'Show to visitors' ) , 'privacy' => I18N :: translate ( 'Show to members' ) , 'confidential' => I18N :: translate ( 'Show to managers' ) , 'locked' => I18N :: translate ( 'Only managers can edit' ) , ] ; if ( $ include_empty ) { $ options = [ '' => '' ] + $ options ; } return $ options ; }
A list of GEDCOM restrictions for inline data.

@param bool $include_empty

@return string[]
A list of GEDCOM restrictions for inline data .