Bernhard Schussek
|
6793bcd698
[Form] Removed magic from method signature of add()
|
14 years ago |
Bernhard Schussek
|
6bc79a1a12
[Form] Renamed different kinds of data transformers within a field for better clarity
|
14 years ago |
Bernhard Schussek
|
0b929ee342
[Form] Renamed ValueTransformers to DataTransformers to fit with DataMapper and DataValidator
|
14 years ago |
Bernhard Schussek
|
97d0183d84
[Form] Moved properties propertyPath, modifyByReference, validationGroups and virtual to generic attributes because they are specific to the used data validator/mapper implementations
|
14 years ago |
Bernhard Schussek
|
700c96e7fa
[Form] Moved FieldFactoryTest to FormFactoryTest and fixed it
|
14 years ago |
Bernhard Schussek
|
9caaf0f3a3
[Form] Introduced FieldBuilder for field/form creation and made Field/Form mostly immutable
|
14 years ago |
Bernhard Schussek
|
3f70f89339
Merge remote branch 'symfony/master' into experimental
|
14 years ago |
Kris Wallsmith
|
0a229947a6
[Form] updated tests for changes in HttpFoundation
|
14 years ago |
Bernhard Schussek
|
a51321c264
[Form] Moved validation logic to ValidationListener
|
14 years ago |
Bernhard Schussek
|
0799662361
[Form] Extracted data mapping logic from Form into ObjectMapperListener
|
14 years ago |
Bernhard Schussek
|
7a63b840f3
[Form] Renamed submit() to bind()
|
14 years ago |
Bernhard Schussek
|
5bfd02bcd0
[Form] Renamed bind() to bindRequest(). It is now semantically the same as in symfony1 again
|
14 years ago |
Bernhard Schussek
|
ffa5bd264a
[Form] Moved logic of Field::isMultipart() to rendering layer
|
14 years ago |
Bernhard Schussek
|
50ce0d53a0
[Form] Removed FieldInterface::getDisplayedData(). Use getTransformedData() instead
|
14 years ago |
Bernhard Schussek
|
cb283d3783
[Form] Renamed 'key' to 'name'. Removed setKey() totally.
|
14 years ago |
Bernhard Schussek
|
0bf566310c
Merge branch 'event-manager' into experimental
|
14 years ago |
Fabien Potencier
|
8c423edfef
replaced symfony-project.org by symfony.com
|
14 years ago |
Bernhard Schussek
|
8a6246bd06
[Form] Refactored contents of FormFactory into individual FieldConfig classes
|
14 years ago |
Bernhard Schussek
|
528ef55da6
[Form] Implemented generic data filter hooks
|
14 years ago |
Bernhard Schussek
|
02d2121dcd
[Form] Improved rendering
|
14 years ago |
Bernhard Schussek
|
e3e8c29875
Merge branch 'bugfix' into experimental
|
14 years ago |
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 years ago |
Bernhard Schussek
|
a40e2dd77b
[Form] Deleted obsolete Field classes, ported some more to FormFactory and fixed lots of failing tests
|
14 years ago |
Bernhard Schussek
|
1593d6f75d
[Form] Added method FieldInterface::isEmpty()
|
14 years ago |
Bernhard Schussek
|
7dbc09ed8b
[Form] Fixed reference handling in forms. Sometimes data wasn't written into the domain object, resulting in failed validation.
|
14 years ago |
Bernhard Schussek
|
f51dafca3f
[Form] Fixed: "data_constructor" option is used even if "data_class" option is not set
|
14 years ago |
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 years ago |
Bernhard Schussek
|
09a50c3c55
[Form] Fixed: "by_reference" option is ignored if reading from/writing to an array
|
14 years ago |
Bernhard Schussek
|
bd3e6c6b49
[Form] Fixed: Form::bind() throws an exception if form is anonymous
|
14 years ago |
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 years ago |