Skip to content

Kirby 5.0.4

NestCollection::sortArgs()

Get sort arguments from a string

NestCollection::sortArgs(string $sort): array

Parameters

Name Type Default
$sortrequired string no default value

Return type

array

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection