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

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

static getDocumentRoot ($siteId=null)
static getTableName ()
static getMap ()
static getByDomain (string $host, string $directory)
static getDefaultSite (array $selectFields=[' *'])
static getDefaultLanguageId ()
static getDefaultSiteId ()
static cleanCache ()
Открытые статические члены унаследованные от 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 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)

Защищенные данные

const CACHE_TTL = 86400

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

static $documentRootCache = []
Статические защищенные данные унаследованные от 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"
Защищенные статические члены унаследованные от 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)

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

Class SiteTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_Site_Query query() @method static EO_Site_Result getByPrimary($primary, array $parameters = []) @method static EO_Site_Result getById($id) @method static EO_Site_Result getList(array $parameters = []) @method static EO_Site_Entity getEntity() @method static \Bitrix\Main\EO_Site createObject($setDefaultValues = true) @method static \Bitrix\Main\EO_Site_Collection createCollection() @method static \Bitrix\Main\EO_Site wakeUpObject($row) @method static \Bitrix\Main\EO_Site_Collection wakeUpCollection($rows)

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

Методы

◆ cleanCache()

cleanCache ( )
static

Cleans the tablet cache after data modifications.

Возвращает
void

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

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

◆ getByDomain()

getByDomain ( string $host,
string $directory )
static

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

◆ getDefaultLanguageId()

getDefaultLanguageId ( )
static

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

◆ getDefaultSite()

getDefaultSite ( array $selectFields = ['*'])
static

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

◆ getDefaultSiteId()

getDefaultSiteId ( )
static

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

◆ getDocumentRoot()

getDocumentRoot ( $siteId = null)
static

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

◆ getMap()

getMap ( )
static

Returns entity map definition. To get initialized fields

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

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

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

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity

Возвращает
string

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

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

Поля

◆ $documentRootCache

$documentRootCache = []
staticprotected

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

◆ CACHE_TTL

const CACHE_TTL = 86400
protected

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


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