interface ReverseZoneSorterInterface (View source)

Orders reverse zone names in PHP by the configured sort type.

Methods

array
sortDomains(array $domains, string $sortType = 'natural')

No description

Details

array sortDomains(array $domains, string $sortType = 'natural')

No description

Parameters

array $domains

Reverse zone names

string $sortType

'natural' or 'hierarchical'

Return Value

array

The same names in sorted order