Formfield is now with the Camelcase

This commit is contained in:
2022-07-21 14:20:23 +02:00
parent cb0d01101f
commit c4f611c81e
2 changed files with 3 additions and 3 deletions

View File

@@ -185,11 +185,11 @@ or error to the user.
To use it :
require ("domframework/form.php");
$errors = array ();
$f = new form ();
$f = new Form ();
// Check CSRF and get the provided values if they exists
$values = $f->values ();
// Define here the fields (can be done multiple times)
$field = new formfield ($name, $label);
$field = new Formfield ($name, $label);
// Add the parameters to the field
$fields[] = $field;
unset ($field);