| Current Path : /var/www/homesaver/www/bitrix/modules/vote/lib/vote/ |
| Current File : /var/www/homesaver/www/bitrix/modules/vote/lib/vote/eventlimits.php |
<?php
/**
* Bitrix Framework
* @package bitrix
* @subpackage vote
* @copyright 2001-2019 Bitrix
*/
namespace Bitrix\Vote\Vote;
class EventLimits
{
const BY_SESSION = 1;
const BY_COOKIE = 2;
const BY_IP = 4;
const BY_USER_AUTH = 8;
const BY_USER_DATE_REGISTER = 16;
const BY_USER_ID = 32;
/**
* Gets types list
* @return array
*/
public static function getList()
{
return (new \ReflectionClass(__CLASS__))->getConstants();
}
}