Skip to content

Kirby 6.0.0

PageGuards::for()

Returns the guards for the model, bound to the currently authenticated user.

PageGuards::for(Model $model): PageGuards

Parameters

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

Return type

Kirby\Guards\PageGuards

Parent class

Kirby\Guards\PageGuards inherited from Kirby\Guards\ModelGuards