Your IP : 13.58.252.71


Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/modules/vote/lib/vote/
Upload File :
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/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();
	}
}