Skip to content

Kirby 4.5.0

Structure::sortArgs()

Get sort arguments from a string

Structure::sortArgs(string $sort): array

Parameters

Name Type Default
$sort * string

Return type

array

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection