Bernhard Schussek
|
c1edf116f2
[Form] Removed notion of "hidden" fields
|
14 年之前 |
Bernhard Schussek
|
02d2121dcd
[Form] Improved rendering
|
14 年之前 |
Bernhard Schussek
|
e3e8c29875
Merge branch 'bugfix' into experimental
|
14 年之前 |
Bernhard Schussek
|
87e6cbf8f0
[Form] Fixed: PropertyPath always requires arrays or objects. Forms now always store arrays or objects as transformed data, even when they were bound empty
|
14 年之前 |
Bernhard Schussek
|
a40e2dd77b
[Form] Deleted obsolete Field classes, ported some more to FormFactory and fixed lots of failing tests
|
14 年之前 |
Bernhard Schussek
|
fee0885256
[Form] Moved options from Field and Form to FormFactory. Tests fail now
|
14 年之前 |
Bernhard Schussek
|
975b8ebe9b
[Form] Started to refactor DateField to FormFactory::getDateField(). Validation logic is still missing.
|
14 年之前 |
Bernhard Schussek
|
6edff6b8a9
[Form] Moved submission logic of ChoiceField to preprocessor
|
14 年之前 |
Bernhard Schussek
|
7a48c0a5c5
[Form] Refactored logic from ChoiceField into ChoicePlugin and SelectMultipleNamePlugin
|
14 年之前 |
Bernhard Schussek
|
f7dc71ef59
[Form] Refactored id and name generation to renderer plugins
|
14 年之前 |
Bernhard Schussek
|
1593d6f75d
[Form] Added method FieldInterface::isEmpty()
|
14 年之前 |
Bernhard Schussek
|
7dbc09ed8b
[Form] Fixed reference handling in forms. Sometimes data wasn't written into the domain object, resulting in failed validation.
|
14 年之前 |
Bernhard Schussek
|
f51dafca3f
[Form] Fixed: "data_constructor" option is used even if "data_class" option is not set
|
14 年之前 |
Bernhard Schussek
|
5b95805340
[Form] Added option "data_constructor" to Form. When a Form is initialized with NULL, an object is automatically created using this constructor. If no constructor is given but the option "data_class" is set, an object of that class is created with the default constructor instead.
|
14 年之前 |
Bernhard Schussek
|
09a50c3c55
[Form] Fixed: "by_reference" option is ignored if reading from/writing to an array
|
14 年之前 |
Bernhard Schussek
|
59bf50bf41
[Form] Disabled by reference handling for arrays
|
14 年之前 |
Bernhard Schussek
|
bd3e6c6b49
[Form] Fixed: Form::bind() throws an exception if form is anonymous
|
14 年之前 |
Bernhard Schussek
|
6ff4120784
[Form] Added Form option "by_reference" so that objects received from parent forms are modified by reference when this option is true (the default)
|
14 年之前 |
Lukas Kahwe Smith
|
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
|
14 年之前 |
Bernhard Schussek
|
2276b98fc1
[Form] Fixed: ChoiceFields never validated
|
14 年之前 |
Bernhard Schussek
|
39c148197f
[Form] Fixed form validation
|
14 年之前 |
Bernhard Schussek
|
7c9c7af863
[Form] Fixed arrays not to be passed to the validator
|
14 年之前 |
Bernhard Schussek
|
5e3fab214e
[Form] The form is now validated seperatedly from its data. The form is validated in group "Default", the data in the group set in option "validation_groups"
|
14 年之前 |
Bernhard Schussek
|
4f0283a508
[Form] Removed Form::isBound(). Form::bind() is only a shortcut method now, use Form::isSubmitted() if you want to find out whether a form was submitted.
|
14 年之前 |
Bernhard Schussek
|
628a4d1fd8
[Form] Refactored validation logic into validate() method. Removed bindGlobals() to reduce API clutter
|
14 年之前 |
Jeremy Mikola
|
4e0db56810
[Form] Fix getValidator() to reference the "validator" option instead of property
|
14 年之前 |
Fabien Potencier
|
209dcfefce
[From] fixed phpdoc
|
14 年之前 |
Bernhard Schussek
|
a28151a8af
[Form] Removed FormFactory and improved the form instantiation process
|
14 年之前 |
Bernhard Schussek
|
fb1f99137d
[Form] Changed semantics of a "bound" form
|
14 年之前 |
Bernhard Schussek
|
e5ed98c324
[Form] Added option 'data' to Field for populating a field with a fixed value
|
14 年之前 |