Skip to content

Kirby 5.0.1

ModelUuid::retrieveId()

Retrieves the ID string (UUID without scheme) for the model from the content file, if it is already stored there

ModelUuid::retrieveId(Kirby\Cms\ModelWithContent $model): string|null

Parameters

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

Return types

stringornull

Parent class

Kirby\Uuid\ModelUuid