Commit | Line | Data |
---|---|---|
e25b7b61 MW |
1 | <?php |
2 | namespace wcf\data; | |
3 | ||
4 | /** | |
5 | * Default interface for DatabaseObjects with poll support. | |
6 | * | |
7 | * @author Alexander Ebert | |
ca4ba303 | 8 | * @copyright 2001-2014 WoltLab GmbH |
e25b7b61 | 9 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
f4f05aa5 | 10 | * @package com.woltlab.wcf |
e25b7b61 MW |
11 | * @subpackage data |
12 | * @category Community Framework | |
13 | */ | |
14 | interface IPollObject { | |
15 | /** | |
16 | * Returns true if user can vote in polls. | |
17 | * | |
18 | * @return boolean | |
19 | */ | |
20 | public function canVote(); | |
21 | } |