uawdijnntqw1x1x1
IP : 18.117.151.179
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
msk.axolotls.ru
/
bitrix
/
modules
/
im
/
lib
/
model
/
messageparam.php
/
/
<?php namespace Bitrix\Im\Model; use Bitrix\Main\Entity; use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); /** * Class MessageParamTable * * Fields: * <ul> * <li> ID int mandatory * <li> MESSAGE_ID int mandatory * <li> PARAM_NAME string(100) mandatory * <li> PARAM_VALUE string(100) mandatory * </ul> * * @package Bitrix\Im **/ class MessageParamTable extends Entity\DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'b_im_message_param'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage('MESSAGE_PARAM_ENTITY_ID_FIELD'), ), 'MESSAGE_ID' => array( 'data_type' => 'integer', 'required' => true, 'title' => Loc::getMessage('MESSAGE_PARAM_ENTITY_MESSAGE_ID_FIELD'), ), 'PARAM_NAME' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateParamName'), 'title' => Loc::getMessage('MESSAGE_PARAM_ENTITY_PARAM_NAME_FIELD'), ), 'PARAM_VALUE' => array( 'data_type' => 'string', 'validation' => array(__CLASS__, 'validateParamValue'), 'title' => Loc::getMessage('MESSAGE_PARAM_ENTITY_PARAM_VALUE_FIELD'), ), 'PARAM_JSON' => array( 'data_type' => 'text', 'title' => Loc::getMessage('MESSAGE_PARAM_ENTITY_PARAM_JSON_FIELD'), ), 'MESSAGE' => array( 'data_type' => 'Bitrix\Im\Model\MessageTable', 'reference' => array('=this.MESSAGE_ID' => 'ref.ID'), 'join_type' => 'INNER', ), ); } /** * Returns validators for PARAM_NAME field. * * @return array */ public static function validateParamName() { return array( new Entity\Validator\Length(null, 100), ); } /** * Returns validators for PARAM_VALUE field. * * @return array */ public static function validateParamValue() { return array( new Entity\Validator\Length(null, 100), ); } } class_alias("Bitrix\\Im\\Model\\MessageParamTable", "Bitrix\\Im\\MessageParamTable", false);
/var/www/axolotl/data/www/msk.axolotls.ru/bitrix/modules/im/lib/model/messageparam.php