ValidationInterface.php
system/Validation/ValidationInterface.php
18 fn
run
(?array $data = null, ?string $group = null, $dbGroup = null)
check
($value, $rules, array $errors = [], $dbGroup = null)
withRequest
(RequestInterface $request)
setRule
(string $field, ?string $label, $rules, array $errors = [])
setRules
(array $rules, array $messages = [])
getRules
()
hasRule
(string $field)
getRuleGroup
(string $group)
setRuleGroup
(string $group)
getError
(string $field)
getErrors
()
setError
(string $alias, string $error)
reset
()
loadRuleGroup
(?string $group = null)
hasError
(string $field)
listErrors
(string $template = 'list')
showError
(string $field, string $template = 'single')
getValidated
()