Skip to content

Kirby 4.5.0

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