Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IUploadAction.class.php
CommitLineData
59ab4d0f 1<?php
a9229942 2
59ab4d0f
MS
3namespace wcf\data;
4
5/**
6 * Every database object action supporting file upload has to implement this interface.
a9229942
TD
7 *
8 * @author Matthias Schmidt
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\Data
12 * @since 3.0
59ab4d0f 13 */
a9229942
TD
14interface IUploadAction
15{
16 /**
17 * Validates the 'upload' action.
18 */
19 public function validateUpload();
20
21 /**
22 * Saves uploaded files and returns the data of the uploaded files.
23 *
24 * @return array
25 */
26 public function upload();
59ab4d0f 27}