Skip to content

Kirby 4.4.1

Collection::sortArgs()

Get sort arguments from a string

Collection::sortArgs(string $sort): array

Parameters

Name Type Default
$sort * string

Return type

array

Parent class

Kirby\Toolkit\Collection