Validation
extends BaseConfig
in package
Table of Contents
Properties
- $ruleSets : array<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<int, string>
$ruleSets
= [\CodeIgniter\Validation\StrictRules\Rules::class, \CodeIgniter\Validation\StrictRules\FormatRules::class, \CodeIgniter\Validation\StrictRules\FileRules::class, \CodeIgniter\Validation\StrictRules\CreditCardRules::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']