mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 08:45:45 +00:00
37 lines
887 B
PHP
37 lines
887 B
PHP
![]() |
<?php namespace Config;
|
||
|
|
||
|
class Validation
|
||
|
{
|
||
|
//--------------------------------------------------------------------
|
||
|
// Setup
|
||
|
//--------------------------------------------------------------------
|
||
|
|
||
|
/**
|
||
|
* Stores the classes that contain the
|
||
|
* rules that are available.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $ruleSets = [
|
||
|
\CodeIgniter\Validation\Rules::class,
|
||
|
\CodeIgniter\Validation\FormatRules::class,
|
||
|
\CodeIgniter\Validation\FileRules::class,
|
||
|
\CodeIgniter\Validation\CreditCardRules::class,
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* Specifies the views that are used to display the
|
||
|
* errors.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $templates = [
|
||
|
'list' => 'CodeIgniter\Validation\Views\list',
|
||
|
'single' => 'CodeIgniter\Validation\Views\single',
|
||
|
];
|
||
|
|
||
|
//--------------------------------------------------------------------
|
||
|
// Rules
|
||
|
//--------------------------------------------------------------------
|
||
|
}
|