Joseph Bielawski
a67bc7612e
[2.3][Form] Cleanup & fix phpdocs
2014-07-09 12:39:32 +02:00
Fabien Potencier
5b72e5ab04
minor #10717 unified return null usages (fabpot)
...
This PR was merged into the 2.3 branch.
Discussion
----------
unified return null usages
| Q | A
| ------------- | ---
| License | MIT
This PR unifies the way we return `null` from a function or method:
* always use `return;` instead of `return null;` (the current code base uses both);
* never use `return;` at the end of a function/method.
Commits
-------
d1d569b
unified return null usages
2014-04-18 22:35:25 +02:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
Fabien Potencier
d1d569bf7b
unified return null usages
2014-04-16 09:43:51 +02:00
Fabien Potencier
3c9c10f3a0
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Adrià López Lozano
6bb355e2fd
[Form] Added check for parent disabled status in Button form elements
...
The Button form element did not check for the parent disabled configuration status,
making them behave differently to all other form widgets.
2014-03-31 11:59:54 +02:00
Tobias Schultze
7a754c36a4
[Form] fix and unify phpdoc
2013-10-31 15:15:49 +01:00
Bernhard Schussek
07d14e5ff2
[Form] Removed exception in Button::setData(): setData() is now always called for all elements in the
...
form tree during the initialization of the tree
2013-08-22 14:19:04 +02:00
Bernhard Schussek
1939dfc5fc
[Form] Fixed stofs from #7878
2013-05-02 09:53:57 +02:00
Bernhard Schussek
441222eda7
[Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added
2013-04-29 17:31:30 +02:00
Bernhard Schussek
eabb7a17ed
[Form] Added support for PATCH requests
2013-04-25 16:09:14 +02:00
Bernhard Schussek
41b0127963
[Form] Deprecated bind() and isBound() in favor of submit() and isSubmitted()
2013-04-20 18:05:58 +02:00
Bernhard Schussek
ae7c3781b5
[Form] Renamed form processors to request handlers
2013-04-20 17:36:19 +02:00
Alexander Kotynia
bf9382e6cd
[Form] Make exception handling consistent with other components
2013-04-20 00:34:27 +03:00
Bernhard Schussek
81f8c67566
[Form] Implemented form processors
2013-04-18 11:02:51 +02:00
Bernhard Schussek
ce29c70190
[Form] Fixed incorrect doc comment
2013-04-13 16:46:29 +02:00
Bernhard Schussek
cc2118dd5c
[Form] Implemented support for buttons
2013-04-13 16:46:28 +02:00