19 lines
667 B
PHP
19 lines
667 B
PHP
<?php
|
|
|
|
namespace dokuwiki\plugin\bureaucracy\interfaces;
|
|
|
|
interface bureaucracy_handler_interface {
|
|
|
|
/**
|
|
* Handle the data incoming from the form.
|
|
*
|
|
* @param \helper_plugin_bureaucracy_field[] $fields the list of fields in the form
|
|
* @param string $thanks the thank you message as defined in the form
|
|
* or default one. Might be modified by the action
|
|
* before returned
|
|
*
|
|
* @return bool|string false on error, $thanks on success
|
|
*
|
|
*/
|
|
public function handleData($fields, $thanks);
|
|
}
|