| 1 | <?php |
| 2 | namespace wcf\data; |
| 3 | |
| 4 | /** |
| 5 | * Default interface for user generated content. |
| 6 | * |
| 7 | * @author Alexander Ebert |
| 8 | * @copyright 2001-2014 WoltLab GmbH |
| 9 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
| 10 | * @package com.woltlab.wcf |
| 11 | * @subpackage data |
| 12 | * @category Community Framework |
| 13 | */ |
| 14 | interface IUserContent extends ILinkableObject, ITitledObject { |
| 15 | /** |
| 16 | * Returns message creation timestamp. |
| 17 | * |
| 18 | * @return integer |
| 19 | */ |
| 20 | public function getTime(); |
| 21 | |
| 22 | /** |
| 23 | * Returns author's user id. |
| 24 | * |
| 25 | * @return integer |
| 26 | */ |
| 27 | public function getUserID(); |
| 28 | |
| 29 | /** |
| 30 | * Returns author's username. |
| 31 | * |
| 32 | * @return string |
| 33 | */ |
| 34 | public function getUsername(); |
| 35 | } |