Commit | Line | Data |
---|---|---|
a427a8c8 | 1 | <?php |
a9229942 | 2 | |
a427a8c8 MS |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Every database object action whose objects can be searched via AJAX has to | |
7 | * implement this interface. | |
a9229942 TD |
8 | * |
9 | * @author 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 | |
a427a8c8 | 13 | */ |
a9229942 TD |
14 | interface ISearchAction |
15 | { | |
16 | /** | |
17 | * Returns a list with data of objects that match the given search criteria. | |
18 | * | |
19 | * @return array<array> | |
20 | */ | |
21 | public function getSearchResultList(); | |
22 | ||
23 | /** | |
24 | * Validates the "getSearchResultList" action. | |
25 | */ | |
26 | public function validateGetSearchResultList(); | |
58e1d71f | 27 | } |