PHP Trait Proengsoft\JsValidation\Support\RuleListTrait

ファイルを表示 Open project: proengsoft/laravel-jsvalidation

Protected Properties

Property Type Description
$clientRules array Rules validated with Javascript.
$fileRules array Rules applyed to files.
$serverRules array Rules validated in Server-Side.

Protected Methods

Method 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 method

Check if rule disables rule processing.
protected isDisableRule ( $rule ) : boolean
$rule
return boolean

isFileRule() protected method

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

isImplemented() protected method

Returns if rule is validated using Javascript.
protected isImplemented ( $rule ) : boolean
$rule
return boolean

isRemoteRule() protected method

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

validationDisabled() protected method

Check if rules should be validated.
protected validationDisabled ( $rules ) : boolean
$rules
return boolean

Property Details

$clientRules protected_oe property

Rules validated with Javascript.
protected array $clientRules
return array

$fileRules protected_oe property

Rules applyed to files.
protected array $fileRules
return array

$serverRules protected_oe property

Rules validated in Server-Side.
protected array $serverRules
return array