Skip to content

Kirby 5.3.0

LazyCollection::sortArgs()

Get sort arguments from a string

LazyCollection::sortArgs(string $sort): array

Parameters

Name Type Default
$sortrequired string no default value

Return type

array

Parent class

Kirby\Cms\LazyCollection inherited from Kirby\Toolkit\Collection