1<?php
2
3namespace dokuwiki\plugin\bureaucracyau\interfaces;
4
5interface bureaucracyau_handler_interface {
6
7    /**
8     * Handle the data incoming from the form.
9     *
10     * @param \helper_plugin_bureaucracyau_field[] $fields the list of fields in the form
11     * @param string                             $thanks the thank you message as defined in the form
12     *                                                   or default one. Might be modified by the action
13     *                                                   before returned
14     *
15     * @return bool|string false on error, $thanks on success
16     *
17     */
18    public function handleData($fields, $thanks);
19}
20