Validation
in package
Table of Contents
- $ruleSets : array<string|int, string>
- Stores the classes that contain the rules that are available.
- $templates : array<string, string>
- Specifies the views that are used to display the errors.
Properties
$ruleSets
Stores the classes that contain the rules that are available.
public
array<string|int, string>
$ruleSets
= [CodeIgniterValidationRules::class, CodeIgniterValidationFormatRules::class, CodeIgniterValidationFileRules::class, CodeIgniterValidationCreditCardRules::class, AppValidationUserrules::class]
$templates
Specifies the views that are used to display the errors.
public
array<string, string>
$templates
= ['list' => 'CodeIgniter\Validation\Views\list', 'single' => 'CodeIgniter\Validation\Views\single']