golden hour
/home/godaofbq/hyperxmed.com/wp-content/plugins/fluentform/app/Modules/Form/Settings/Validator
⬆️ Go Up
Upload
File/Folder
Size
Actions
Confirmations.php
2.21 KB
Del
OK
MailChimps.php
1.8 KB
Del
OK
Notifications.php
2.69 KB
Del
OK
Pdfs.php
1.73 KB
Del
OK
Validator.php
617 B
Del
OK
Edit: Validator.php
<?php namespace FluentForm\App\Modules\Form\Settings\Validator; class Validator { /** * Centralized validator for all the settings data. * * @param $key * @param array $data */ public static function validate($key, $data = []) { $key = ucwords($key); $class = '\FluentForm\App\Modules\Form\Settings\Validator\\' . $key; if (class_exists($class)) { /** * Validator class * * @var $class Confirmations|MailChimps|Notifications|Pdfs */ $class::validate($data); } } }
Save