Skip to content

Kirby 4.5.0

Items::sortArgs()

Get sort arguments from a string

Items::sortArgs(string $sort): array

Parameters

Name Type Default
$sort * string

Return type

array

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Collection