1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс FileSaveTable
Граф наследования:FileSaveTable:
DataManager

Открытые статические члены

static getTableName ()
static getMap ()
static validateSubdir ()
static validateFileName ()
static validateExternalId ()
static startFileOperation ($bucketId, $subDir, $fileName, $externalId)
static setFileSize ($bucketId, $subDir, $fileName, $fileSize)
static endFileOperation ($bucketId, $subDir, $fileName)
Открытые статические члены унаследованные от DataManager
static getEntity ()
static unsetEntity ($class)
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static getUfId ()
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static add (array $data)
static addMulti ($rows, $ignoreEvents=false)
static update ($primary, array $data)
static delete ($primary)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

Дополнительные унаследованные члены

Поля данных унаследованные от DataManager
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"
Защищенные статические члены унаследованные от DataManager
static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)
Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

Подробное описание

См. определение в файле filesave.php строка 26

Методы

◆ endFileOperation()

endFileOperation ( $bucketId,
$subDir,
$fileName )
static

Deletes the file save task object from the database.

Аргументы
int$bucketIdClouds storage bucket identifier.
string$subDirFile directory.
string$fileNameFile name.
Возвращает
void

См. определение в файле filesave.php строка 206

◆ getMap()

getMap ( )
static

Returns entity map definition.

Возвращает
array

Переопределяет метод предка DataManager.

См. определение в файле filesave.php строка 45

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity.

Возвращает
string

Переопределяет метод предка DataManager.

См. определение в файле filesave.php строка 35

◆ setFileSize()

setFileSize ( $bucketId,
$subDir,
$fileName,
$fileSize )
static

Assignes the file size to a file save task object.

Аргументы
int$bucketIdClouds storage bucket identifier.
string$subDirFile directory.
string$fileNameFile name.
int$fileSizeFile size.
Возвращает
void

См. определение в файле filesave.php строка 186

◆ startFileOperation()

startFileOperation ( $bucketId,
$subDir,
$fileName,
$externalId )
static

Creates and file save task object, saves it to the database and returns as a result.

Аргументы
int$bucketIdClouds storage bucket identifier.
string$subDirFile directory.
string$fileNameFile name.
string$externalIdFile external identifier.
Возвращает
void

См. определение в файле filesave.php строка 154

◆ validateExternalId()

validateExternalId ( )
static

Returns validators for EXTERNAL_ID field.

Возвращает
array

См. определение в файле filesave.php строка 137

◆ validateFileName()

validateFileName ( )
static

Returns validators for FILE_NAME field.

Возвращает
array

См. определение в файле filesave.php строка 125

◆ validateSubdir()

validateSubdir ( )
static

Returns validators for SUBDIR field.

Возвращает
array

См. определение в файле filesave.php строка 113


Объявления и описания членов класса находятся в файле: