dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "jquery.suggestions: Trigger keypress on initializing"
[lhc/web/wiklou.git]
/
includes
/
actions
/
FormAction.php
diff --git
a/includes/actions/FormAction.php
b/includes/actions/FormAction.php
index
0141b9e
..
ec63910
100644
(file)
--- a/
includes/actions/FormAction.php
+++ b/
includes/actions/FormAction.php
@@
-109,8
+109,13
@@
abstract class FormAction extends Action {
*
* If you don't want to do anything with the form, just return false here.
*
*
* If you don't want to do anything with the form, just return false here.
*
+ * This method will be passed to the HTMLForm as a submit callback (see
+ * HTMLForm::setSubmitCallback) and must return as documented for HTMLForm::trySubmit.
+ *
+ * @see HTMLForm::setSubmitCallback()
+ * @see HTMLForm::trySubmit()
* @param array $data
* @param array $data
- * @return bool|
array True for success, false for didn't-try, array of errors on failure
+ * @return bool|
string|array|Status Must return as documented for HTMLForm::trySubmit
*/
abstract public function onSubmit( $data );
*/
abstract public function onSubmit( $data );