uawdijnntqw1x1x1
IP : 18.191.149.30
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
/
rostov.axolotls.ru
/
bitrix
/
modules
/
disk
/
lib
/
internals
/
attachedobject.php
/
/
<?php namespace Bitrix\Disk\Internals; use Bitrix\Main\Entity; use Bitrix\Main\Type\DateTime; /** * Class AttachedObjectTable * * Fields: * <ul> * <li> ID int mandatory * <li> OBJECT_ID int mandatory * <li> VERSION_ID int optional * <li> IS_EDITABLE int optional * <li> ALLOW_EDIT int optional * <li> ALLOW_AUTO_COMMENT int optional * <li> MODULE_ID string(32) optional * <li> ENTITY_TYPE string(100) optional * <li> ENTITY_ID int optional * <li> CREATE_TIME datetime mandatory * <li> CREATED_BY int * </ul> * * @package Bitrix\Disk **/ final class AttachedObjectTable extends DataManager { public static function getTableName() { return 'b_disk_attached_object'; } public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'OBJECT_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'OBJECT' => array( 'data_type' => 'Bitrix\Disk\Internals\FileTable', 'reference' => array( '=this.OBJECT_ID' => 'ref.ID' ), 'join_type' => 'INNER', ), 'VERSION_ID' => array( 'data_type' => 'integer', ), 'VERSION' => array( 'data_type' => 'Bitrix\Disk\Internals\VersionTable', 'reference' => array( '=this.VERSION_ID' => 'ref.ID' ), ), 'IS_EDITABLE' => array( 'data_type' => 'enum', 'values' => array(0, 1, 2), 'default_value' => 0, ), 'ALLOW_EDIT' => array( 'data_type' => 'enum', 'values' => array(0, 1), 'default_value' => 0, ), 'ALLOW_AUTO_COMMENT' => array( 'data_type' => 'enum', 'values' => array(0, 1), 'default_value' => 1, ), 'MODULE_ID' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateModule'), ), 'ENTITY_TYPE' => array( 'data_type' => 'string', 'required' => true, 'validation' => array(__CLASS__, 'validateEntityType'), ), 'ENTITY_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'CREATE_TIME' => array( 'data_type' => 'datetime', 'required' => true, 'default_value' => function() { return new DateTime(); }, ), 'CREATED_BY' => array( 'data_type' => 'integer', ), 'CREATE_USER' => array( 'data_type' => 'Bitrix\Main\UserTable', 'reference' => array( '=this.CREATED_BY' => 'ref.ID' ), ), ); } public static function validateModule() { return array( new Entity\Validator\Length(1, 32), ); } public static function validateEntityType() { return array( new Entity\Validator\Length(1, 100), ); } /** * Updates rows by filter (simple format). * Filter support only column = value. Only =. * @param array $fields Fields. * @param array $filter Filter. */ public static function updateBatch(array $fields, array $filter) { parent::updateBatch($fields, $filter); } }
/var/www/axolotl/data/www/rostov.axolotls.ru/bitrix/modules/disk/lib/internals/attachedobject.php