403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/main/lib/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/main/lib/usercounter.php
<?php
namespace Bitrix\Main;

/**
 * Class UserCounterTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_UserCounter_Query query()
 * @method static EO_UserCounter_Result getByPrimary($primary, array $parameters = [])
 * @method static EO_UserCounter_Result getById($id)
 * @method static EO_UserCounter_Result getList(array $parameters = [])
 * @method static EO_UserCounter_Entity getEntity()
 * @method static \Bitrix\Main\EO_UserCounter createObject($setDefaultValues = true)
 * @method static \Bitrix\Main\EO_UserCounter_Collection createCollection()
 * @method static \Bitrix\Main\EO_UserCounter wakeUpObject($row)
 * @method static \Bitrix\Main\EO_UserCounter_Collection wakeUpCollection($rows)
 */
class UserCounterTable extends Entity\DataManager
{
	public static function getTableName()
	{
		return 'b_user_counter';
	}

	public static function getMap()
	{
		return array(
			'USER_ID' => array(
				'data_type' => 'integer',
				'primary' => true
			),
			'SITE_ID' => array(
				'data_type' => 'string',
				'validation' => array(__CLASS__, 'validateSiteId'),
				'primary' => true
			),
			'CODE' => array(
				'data_type' => 'string',
				'validation' => array(__CLASS__, 'validateCode'),
				'primary' => true
			),
			'TAG' => array(
				'data_type' => 'string',
				'validation' => array(__CLASS__, 'validateTag'),
			),
			'PARAMS' => array(
				'data_type' => 'text'
			),
			'SENT' => array(
				'data_type' => 'string',
				'validation' => array(__CLASS__, 'validateSent'),
			),
			'CNT' => array(
				'data_type' => 'integer'
			),
			'LAST_DATE' => array(
				'data_type' => 'datetime'
			),
			'TIMESTAMP_X' => array(
				'data_type' => 'datetime'
			),
			'USER' => array(
				'data_type' => 'Bitrix\Main\UserTable',
				'reference' => array('=this.USER_ID' => 'ref.ID')
			),
		);
	}

	public static function validateProviderId()
	{
		return array(
			new Entity\Validator\Length(null, 50),
		);
	}

	public static function validateSiteId()
	{
		return array(
			new Entity\Validator\Length(null, 2),
		);
	}

	public static function validateCode()
	{
		return array(
			new Entity\Validator\Length(null, 50),
		);
	}

	public static function validateSent()
	{
		return array(
			new Entity\Validator\Length(null, 1),
		);
	}

	public static function validateTag()
	{
		return array(
			new Entity\Validator\Length(null, 255),
		);
	}

	public static function validateAccessCode()
	{
		return array(
			new Entity\Validator\Length(null, 100),
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit