diff --git a/src/Forms/BaseForm.php b/src/Forms/BaseForm.php index bf1ef7a..c92475f 100644 --- a/src/Forms/BaseForm.php +++ b/src/Forms/BaseForm.php @@ -44,6 +44,18 @@ class BaseForm { } + public function set_parameters(array $parameters) + { + + foreach($parameters as $property => $value) + { + + $this->$property=$value; + + } + + } + /** * Static method where is registered the js necessary for a field */