Skip to content

Kirby 4.2.0

NestCollection::sortArgs()

Get sort arguments from a string

NestCollection::sortArgs(string $sort): array

Parameters

Name Type Default
$sort * string

Return type

array

Parent class

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