Skip to content

Kirby 5.0.4

$modelCommit->validate()

Checks the model rules for the given action if there's a matching rule method.

$modelCommit->validate(array $arguments): void

Parameters

Name Type Default
$argumentsrequired array no default value

Parent class

Kirby\Cms\ModelCommit