Skip to content

Kirby 5.0.2

$optionsApi->load()

Loads the API content from a remote URL or local file (or from cache)

$optionsApi->load(Kirby\Cms\ModelWithContent $model): array|null

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value

Return types

arrayornull

Parent class

Kirby\Option\OptionsApi