Commit | Line | Data |
---|---|---|
9495a3b5 | 1 | <?php |
a9229942 | 2 | |
9495a3b5 AE |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
cea5b918 MS |
6 | * Every object action whose objects can be sorted via AJAX has to implement this |
7 | * interface. | |
a9229942 TD |
8 | * |
9 | * @author Alexander Ebert, Matthias Schmidt | |
10 | * @copyright 2001-2019 WoltLab GmbH | |
11 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
12 | * @package WoltLabSuite\Core\Data | |
9495a3b5 | 13 | */ |
a9229942 TD |
14 | interface ISortableAction |
15 | { | |
16 | /** | |
17 | * Validates the 'updatePosition' action. | |
18 | */ | |
19 | public function validateUpdatePosition(); | |
20 | ||
21 | /** | |
22 | * Updates the position of given objects. | |
23 | */ | |
24 | public function updatePosition(); | |
9495a3b5 | 25 | } |