PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.5.4
JetFormBuilder — Dynamic Blocks Form Builder v3.5.4
3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / modules / validation / class-validation-handlers.php
jetformbuilder / modules / validation Last commit date
advanced-rules 1 year ago handlers 1 year ago messages 2 years ago post-type 2 years ago rest-api 1 year ago ssr 1 year ago class-validation-handlers.php 1 year ago module.php 1 year ago rules-controller.php 2 years ago
class-validation-handlers.php
41 lines
1 <?php
2 namespace JFB_Modules\Validation;
3
4 use JFB_Modules\Validation\Handlers\Ajax_Validation_Handler;
5 use JFB_Modules\Validation\Handlers\Self_Validation_Handler;
6 use JFB_Modules\Validation\Handlers\Validation_Handler;
7 use JFB_Components\Repository\Repository_Pattern_Trait;
8 use Jet_Form_Builder\Exceptions\Repository_Exception;
9
10 if ( ! defined( 'WPINC' ) ) {
11 die;
12 }
13
14 class Class_Validation_Handlers {
15
16 use Repository_Pattern_Trait;
17
18 public function __construct() {
19 $this->rep_install();
20 }
21
22 public function rep_instances(): array {
23 return apply_filters(
24 'jet-form-builder/validation-handlers',
25 array(
26 new Validation_Handler(),
27 new Self_Validation_Handler(),
28 new Ajax_Validation_Handler(),
29 )
30 );
31 }
32
33 public function get_handler( string $handler_id ) {
34 return $this->rep_get_item( $handler_id );
35 }
36
37 public function get_handlers(): array {
38 return $this->rep_get_items();
39 }
40 }
41