См. определение в файле storage.php строка 9
◆ getObjectByAttachment()
static getObjectByAttachment |
( |
array | $attachment, |
|
|
| $create = false ) |
|
static |
Returns disk object by attachment file data (creates one if not exists)
- Аргументы
-
array | $attachment | Attachment file data. |
boolean | $create | Create object if not exists. |
- Возвращает
- \Bitrix\Disk\File|false|null
См. определение в файле storage.php строка 126
◆ getObjectsByFileId()
static getObjectsByFileId |
( |
| $fileId, |
|
|
| $limit = 0 ) |
|
static |
Returns disk objects by file ID
- Аргументы
-
int | $fileId | File ID. |
int | $limit | Limit. |
- Возвращает
- array
См. определение в файле storage.php строка 100
◆ getStorage()
Returns attachments disk storage
- Возвращает
- \Bitrix\Disk\Storage|false
См. определение в файле storage.php строка 17
◆ getUrlManager()
Returns disk url manager
- Возвращает
- \Bitrix\Disk\UrlManager|false
См. определение в файле storage.php строка 72
◆ registerAttachment()
static registerAttachment |
( |
array | $attachment | ) |
|
|
static |
Creates disk object for attachment file
- Аргументы
-
array | $attachment | Attachment file data. |
- Возвращает
- \Bitrix\Disk\File|false|null
См. определение в файле storage.php строка 145
◆ unregisterAttachment()
static unregisterAttachment |
( |
| $fileId | ) |
|
|
static |
Deletes disk objects by file ID
- Аргументы
-
- Возвращает
- void
См. определение в файле storage.php строка 190