Commit | Line | Data |
---|---|---|
f984c90d | 1 | <?php |
a9229942 | 2 | |
f984c90d MS |
3 | namespace wcf\data; |
4 | ||
5 | /** | |
6 | * Every database object that supports polls 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 5.2 | |
f984c90d | 13 | */ |
a9229942 TD |
14 | interface IPollContainer extends IIDObject, IPollObject |
15 | { | |
16 | /** | |
17 | * Returns the id of the poll that belongs to this object or `null` if there is no such poll. | |
18 | * | |
19 | * @return null|int | |
20 | */ | |
21 | public function getPollID(); | |
f984c90d | 22 | } |