PHP Trait Proengsoft\JsValidation\Support\RuleListTrait

Afficher le fichier Open project: proengsoft/laravel-jsvalidation

Protected Properties

Свойство Type Description
$clientRules array Rules validated with Javascript.
$fileRules array Rules applyed to files.
$serverRules array Rules validated in Server-Side.

Méthodes protégées

Méthode Description
isDisableRule ( $rule ) : boolean Check if rule disables rule processing.
isFileRule ( $rule ) : boolean Check if rules is for input file type.
isImplemented ( $rule ) : boolean Returns if rule is validated using Javascript.
isRemoteRule ( $rule ) : boolean Check if rule must be validated in server-side.
validationDisabled ( $rules ) : boolean Check if rules should be validated.

Method Details

isDisableRule() protected méthode

Check if rule disables rule processing.
protected isDisableRule ( $rule ) : boolean
$rule
Résultat boolean

isFileRule() protected méthode

Check if rules is for input file type.
protected isFileRule ( $rule ) : boolean
$rule
Résultat boolean

isImplemented() protected méthode

Returns if rule is validated using Javascript.
protected isImplemented ( $rule ) : boolean
$rule
Résultat boolean

isRemoteRule() protected méthode

Check if rule must be validated in server-side.
protected isRemoteRule ( $rule ) : boolean
$rule
Résultat boolean

validationDisabled() protected méthode

Check if rules should be validated.
protected validationDisabled ( $rules ) : boolean
$rules
Résultat boolean

Property Details

$clientRules protected_oe property

Rules validated with Javascript.
protected array $clientRules
Résultat array

$fileRules protected_oe property

Rules applyed to files.
protected array $fileRules
Résultat array

$serverRules protected_oe property

Rules validated in Server-Side.
protected array $serverRules
Résultat array