Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс FilePreviewTable
+ Граф наследования:FilePreviewTable:

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

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)
 
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 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 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
 
static $reservedWords
 

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

- Открытые атрибуты унаследованные от 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()

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

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

◆ deleteOld()

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

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

◆ deleteOldAgent()

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

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

◆ getMap()

static getMap ( )
static

Returns entity map definition. To get initialized fields

См. также
\Bitrix\Main\Entity\Base::getFields() and \Bitrix\Main\Entity\Base::getField()
Возвращает
array
Исключения

Bitrix\Main\SystemException

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

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

◆ getTableName()

static getTableName ( )
static

Returns DB table name for entity

Возвращает
string

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

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

◆ onDelete()

static onDelete ( Event $event)
static

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

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

◆ onFileDelete()

static 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 строка 161

Данные класса

◆ $alreadyDeleted

$alreadyDeleted = []
staticprotected

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