uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
bitrix
/
modules
/
main
/
lib
/
.
/
.
/
rating
/
rating.php
/
/
<? namespace Bitrix\Main\Rating; use Bitrix\Main; use Bitrix\Main\Localization\Loc; use Bitrix\Main\NotImplementedException; Loc::loadMessages(__FILE__); /** * Class RatingTable * * Fields: * <ul> * <li> ID int mandatory * <li> ACTIVE string(1) mandatory * <li> NAME string(512) mandatory * <li> ENTITY_ID string(50) mandatory * <li> CALCULATION_METHOD string(3) mandatory default 'SUM' * <li> CREATED datetime optional * <li> LAST_MODIFIED datetime optional * <li> LAST_CALCULATED datetime optional * <li> POSITION bool optional default 'N' * <li> AUTHORITY bool optional default 'N' * <li> CALCULATED bool optional default 'N' * <li> CONFIGS string optional * </ul> * * @package Bitrix\Rating **/ class RatingTable extends Main\Entity\DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'b_rating'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'ACTIVE' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateActive'), ), 'NAME' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateName'), ), 'ENTITY_ID' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateEntityId'), ), 'CALCULATION_METHOD' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateCalculationMethod'), ), 'CREATED' => array( 'data_type' => 'datetime', ), 'LAST_MODIFIED' => array( 'data_type' => 'datetime', ), 'LAST_CALCULATED' => array( 'data_type' => 'datetime', ), 'POSITION' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'AUTHORITY' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'CALCULATED' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'CONFIGS' => array( 'data_type' => 'text', ), ); } public static function add(array $data) { throw new NotImplementedException("Use CRatings class."); } public static function update($primary, array $data) { throw new NotImplementedException("Use CRatings class."); } public static function delete($primary) { throw new NotImplementedException("Use CRatings class."); } }
/home/user/web/pansionat-v-yaroslavle.ru/public_html/bitrix/modules/main/lib/././rating/rating.php