| 1 | <?php |
| 2 | |
| 3 | namespace wcf\data; |
| 4 | |
| 5 | /** |
| 6 | * Default interface for user generated content. |
| 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 | */ |
| 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(); |
| 34 | } |