1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | GetStorage (?int $chatId=null) |
static | UploadFileRegister ($chatId, $files, $text='', $linesSilentMode=false) |
static | UploadFile ($hash, &$file, &$package, &$upload, &$error) |
static | UploadFileUnRegister ($chatId, $files, $messages) |
static | DeleteFile ($chatId, $fileId) |
static | UploadFileFromDisk ($chatId, $files, $text='', $options=[], $robot=false) |
static | UploadFileFromMain ($chatId, $files, ?int $authorId=null) |
static | SaveToLocalDisk ($fileId) |
static | IncreaseFileVersionDisk ($chatId, $fileId, ?int $userId=null) |
static | SaveFromLocalDisk ($chatId, $fileId, bool $symlink=false, ?int $userId=null) |
static | RecordShare (int $chatId, int $fileId, ?int $userId=null) |
static | UploadAvatar ($hash, &$file, &$package, &$upload, &$error) |
static | UpdateAvatarId ($chatId, $fileId, $userId=null) |
static | GetHistoryFiles ($chatId, $historyPage=1) |
static | GetHistoryFilesByName ($chatId, $name) |
static | GetMaxFileId ($chatId) |
static | GetFiles ($chatId, $fileId=false, $checkPermission=true) |
static | GetFileParams ($chatId, $fileModel, $options=[]) |
static | Enabled () |
static | updateFolderRights (int $chatId, bool $fullRights=false) |
static | GetFolderModel ($chatId, $createFolder=true) |
static | ChangeFolderMembers ($chatId, $userId, $append=true) |
static | GetBackgroundFolderModel ($userId=null) |
static | CommitBackgroundFile ($userId, $fileId) |
static | DeleteBackgroundFile ($userId, $fileId) |
static | GetLocalDiskSavedModel ($userId=null) |
static | GetStorageId (?int $chatId=null) |
static | SetStorageId ($id) |
static | GetLocalDiskFolderPath () |
static | GetLocalDiskFilePath ($fileId=0) |
static | GetPublicPath ($type, File $fileModel, $checkContentVersion=true) |
static | GetFileLink (File $fileModel) |
static | GetFileLinkSign () |
static | RemoveTmpFileAgent () |
static | GetUserId () |
static | EnabledExternalLink () |
static | SetEnabledExternalLink ($flag=true) |
static | GetTopDepartmentCode () |
static | OnAfterDeleteFile ($fileId, $userId, $fileParams=Array()) |
Поля данных | |
const | MODULE_ID = 'im' |
const | PATH_TYPE_SHOW = 'show' |
const | PATH_TYPE_PREVIEW = 'preview' |
const | PATH_TYPE_DOWNLOAD = 'download' |
Защищенные статические члены | |
static | checkDirectlyUseFileAccess (File $fileModel, Disk\Folder $folderModel, int $userId) |
static | uploadFromLocalDisk (int $chatId, int $fileId, ?int $userId=null, bool $asFile=false) |
static | createSymlink (File $fileModel, int $chatId, int $userId, bool $withSharingRights=true) |
static | getFileModel (int $fileId, ?int $contextUserId) |
static | createSubFolder (int $chatId, int $parentId) |
static | createFolder (int $chatId, string $chatType) |
static | isStorageAssociatedWithChat (int $storageId) |
См. определение в файле im_disk.php строка 14
|
static |
int | $chatId | |
int | int[] | $userId | |
bool | $append |
См. определение в файле im_disk.php строка 1974
|
staticprotected |
См. определение в файле im_disk.php строка 755
|
static |
|
staticprotected |
int | $chatId | |
string | $chatType |
См. определение в файле im_disk.php строка 1913
|
staticprotected |
int | $chatId | |
int | $parentId |
См. определение в файле im_disk.php строка 1890
|
staticprotected |
См. определение в файле im_disk.php строка 1059
|
static |
|
static |
int | $chatId | |
int | $fileId |
global \CUser $USER
См. определение в файле im_disk.php строка 392
|
static |
|
static |
См. определение в файле im_disk.php строка 2468
|
static |
int | null | $userId |
См. определение в файле im_disk.php строка 2078
|
static |
|
static |
См. определение в файле im_disk.php строка 2411
|
staticprotected |
См. определение в файле im_disk.php строка 1099
|
static |
int | $chatId | |
File | int | $fileModel |
См. определение в файле im_disk.php строка 1672
int | $chatId | |
int | int[] | false | $fileId | |
bool | $checkPermission |
См. определение в файле im_disk.php строка 1601
|
static |
int | $chatId | Chat Id. |
bool | $createFolder | Create disk folder if not exists. |
array | $chat | Chat data [TYPE, DISK_FOLDER_ID], optional. Prevent repeated queries |
См. определение в файле im_disk.php строка 1786
|
static |
int | $chatId | |
int | $historyPage |
См. определение в файле im_disk.php строка 1416
|
static |
int | $chatId | |
string | $name |
См. определение в файле im_disk.php строка 1486
|
static |
|
static |
См. определение в файле im_disk.php строка 2249
|
static |
int | null | $userId |
См. определение в файле im_disk.php строка 2186
|
static |
|
static |
string | $type | |
File | $fileModel | |
bool | $checkContentVersion |
См. определение в файле im_disk.php строка 2287
|
static |
Returns IM's specialized storage.
См. определение в файле im_disk.php строка 30
|
static |
См. определение в файле im_disk.php строка 2211
|
static |
См. определение в файле im_disk.php строка 2502
|
static |
|
static |
int | $chatId | |
int | $fileId | |
int | null | $userId |
См. определение в файле im_disk.php строка 950
|
staticprotected |
Checks if the given storage is associated with a chat.
A storage is considered associated with a chat if it is either the default messenger storage or if it belongs to a collab, as the collab and its chat share the same storage.
int | $storageId |
См. определение в файле im_disk.php строка 2544
|
static |
int | $fileId | |
int | $userId | |
array | $fileParams |
См. определение в файле im_disk.php строка 2515
|
static |
int | $chatId | |
int | $fileId | |
int | null | $userId |
См. определение в файле im_disk.php строка 1147
|
static |
См. определение в файле im_disk.php строка 2428
|
static |
int | $chatId | |
int | $fileId | |
bool | $symlink | |
int | null | $userId |
См. определение в файле im_disk.php строка 1001
|
static |
int | $fileId |
См. определение в файле im_disk.php строка 889
|
static |
|
static |
|
static |
int | $chatId | |
int | $fileId | |
int | null | $userId |
См. определение в файле im_disk.php строка 1333
|
static |
См. определение в файле im_disk.php строка 1723
|
static |
string | $hash | |
array | $file | |
\Bitrix\Main\UI\Uploader\Log | $package | |
\Bitrix\Main\UI\Uploader\Log | $upload | |
string | $error |
См. определение в файле im_disk.php строка 1227
|
static |
string | $hash | |
array | $file | |
\Bitrix\Main\UI\Uploader\Log | $package | |
\Bitrix\Main\UI\Uploader\Log | $upload | |
string | $error |
См. определение в файле im_disk.php строка 181
|
static |
int | $chatId | |
array | $files | |
string | $text | |
array | $options | |
bool | $robot |
См. определение в файле im_disk.php строка 487
|
static |
int | $chatId | |
int[] | $files |
См. определение в файле im_disk.php строка 830
|
static |
int | $chatId | |
array | $files | |
string | $text | |
false | $linesSilentMode |
См. определение в файле im_disk.php строка 81
|
static |
int | $chatId | |
array | $files | |
array | $messages |
См. определение в файле im_disk.php строка 304
|
staticprotected |
См. определение в файле im_disk.php строка 786
const MODULE_ID = 'im' |
См. определение в файле im_disk.php строка 16
const PATH_TYPE_DOWNLOAD = 'download' |
См. определение в файле im_disk.php строка 20
const PATH_TYPE_PREVIEW = 'preview' |
См. определение в файле im_disk.php строка 19
const PATH_TYPE_SHOW = 'show' |
См. определение в файле im_disk.php строка 18