Commit | Line | Data |
---|---|---|
320f4a6d | 1 | <?php |
a9229942 | 2 | |
320f4a6d MW |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Default interface for user generated content. | |
a9229942 TD |
7 | * |
8 | * @author Alexander Ebert | |
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 | |
320f4a6d | 12 | */ |
a9229942 TD |
13 | interface IUserContent extends ITitledLinkObject |
14 | { | |
15 | /** | |
16 | * Returns message creation timestamp. | |
17 | * | |
18 | * @return int | |
19 | */ | |
20 | public function getTime(); | |
21 | ||
22 | /** | |
23 | * Returns author's user id. | |
24 | * | |
25 | * @return int | |
26 | */ | |
27 | public function getUserID(); | |
28 | ||
29 | /** | |
30 | * Returns author's username. | |
31 | * | |
32 | * @return string | |
33 | */ | |
34 | public function getUsername(); | |
320f4a6d | 35 | } |