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

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

static getTableName ()
static getMap ()
static deleteOld ($dayToDeath=22, $portion=20)
static deleteOldAgent ($dayToDeath=22, $portion=20)
static onDelete (Event $event)
static onFileDelete ($bfile)
Открытые статические члены унаследованные от 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 onAfterDelete (Event $event)

Защищенные статические члены

static deleteContent (array $file, $keepImage=false)
Защищенные статические члены унаследованные от 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)

Статические защищенные данные

static $alreadyDeleted = []
Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

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

Поля данных унаследованные от 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"

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

Class FilePreviewTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_FilePreview_Query query() @method static EO_FilePreview_Result getByPrimary($primary, array $parameters = []) @method static EO_FilePreview_Result getById($id) @method static EO_FilePreview_Result getList(array $parameters = []) @method static EO_FilePreview_Entity getEntity() @method static \Bitrix\Main\UI\Viewer\EO_FilePreview createObject($setDefaultValues = true) @method static \Bitrix\Main\UI\Viewer\EO_FilePreview_Collection createCollection() @method static \Bitrix\Main\UI\Viewer\EO_FilePreview wakeUpObject($row) @method static \Bitrix\Main\UI\Viewer\EO_FilePreview_Collection wakeUpCollection($rows)

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

Методы

◆ deleteContent()

deleteContent ( array $file,
$keepImage = false )
staticprotected

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

◆ deleteOld()

deleteOld ( $dayToDeath = 22,
$portion = 20 )
static

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

◆ deleteOldAgent()

deleteOldAgent ( $dayToDeath = 22,
$portion = 20 )
static

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

◆ getMap()

getMap ( )
static

Returns entity map definition. To get initialized fields

Возвращает
array
Исключения

Bitrix\Main\SystemException

См. также
\Bitrix\Main\ORM\Entity::getFields()
\Bitrix\Main\ORM\Entity::getField()

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

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

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity

Возвращает
string

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

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

◆ onDelete()

onDelete ( Event $event)
static

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

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

◆ onFileDelete()

onFileDelete ( $bfile)
static

Event handler which listen to delete entries of b_file to clean preview.

Аргументы
array$bfile
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

Поля

◆ $alreadyDeleted

$alreadyDeleted = []
staticprotected

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


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