Formfield is now with the Camelcase
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user