Added method to baseForm for modify property of a form class

This commit is contained in:
Antonio de la Rosa 2015-10-15 02:54:19 +02:00
parent ad4655a376
commit 0f000fff25

View file

@ -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
*/