Merge branch 'master' into cli
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IPollObject.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Default interface for DatabaseObjects with poll support.
6 *
7 * @author Alexander Ebert
8 * @copyright 2001-2013 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf.poll
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 }