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> | |
320f4a6d | 11 | */ |
a9229942 TD |
12 | interface IUserContent extends ITitledLinkObject |
13 | { | |
14 | /** | |
15 | * Returns message creation timestamp. | |
16 | * | |
17 | * @return int | |
18 | */ | |
19 | public function getTime(); | |
20 | ||
21 | /** | |
22 | * Returns author's user id. | |
23 | * | |
24 | * @return int | |
25 | */ | |
26 | public function getUserID(); | |
27 | ||
28 | /** | |
29 | * Returns author's username. | |
30 | * | |
31 | * @return string | |
32 | */ | |
33 | public function getUsername(); | |
320f4a6d | 34 | } |