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

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

static getFilePath ()
static getTableName ()
static getLinkField ()
static getTargetEntityName ()
static getUseLinkTracking ()
static getTargetEntityPrimaryField ()
static onAfterModifiy ()
static getMap ()
Открытые статические члены унаследованные от Connector
static getTypeField ()
static getLocationLinkField ()
static getUseGroups ()
static getConnectType ()
static getUseCodes ()
static add (array $data)
static update ($primary, array $data)
static delete ($primary)
static updateMultipleForOwner ($entityPrimary, $links=array(), $behaviour=array('REMOVE_ABSENT'=> true))
static deleteAllForOwner ($entityPrimary, $behaviour=array('BATCH_MODE'=> false))
static deleteAll ()
static resetMultipleForOwner ($entityPrimary, $links=array())
static getConnectedLocationsQuery ($entityPrimary, $parameters=array(), $behaviour=array('GET_LINKED_THROUGH_GROUPS'=> false))
static getConnectedLocationsSql ($entityPrimary, $parameters=array(), $behaviour=array('GET_LINKED_THROUGH_GROUPS'=> false))
static getConnectedLocations ($entityPrimary, $parameters=array(), $behaviour=array('GET_LINKED_THROUGH_GROUPS'=> false))
static getConnectedGroups ($entityPrimary, $parameters=array())
static getConnectedEntites ($locationPrimary, $parameters=array())
static getConnectedEntitesByCode ($locationPrimary, $parameters=array())
static getConnectedEntitiesQuery ($locationPrimary, $linkType='id', $parameters=array())
static getLinkStatusForMultipleNodes ($nodeInfo, $entityPrimary, $connectors=false)
static checkConnectionExists ($entityPrimary, $locationPrimary, array $behaviour=array('LOCATION_LINK_TYPE'=> 'ID'))
static checkLinkUsageAny ($entityPrimary)
static checkLinkUsage ($entityPrimary, $linkType=self::DB_LOCATION_FLAG)
static unionize ($sqls)
static normalizeLocationList ($denormalizedList=array())

Поля данных

const ALL_SITES = '*'
Поля данных унаследованные от Connector
const LINK_ID = 0x01
const LINK_CODE = 0x02
const DB_LOCATION_FLAG = 'L'
const DB_GROUP_FLAG = 'G'
const LSTAT_IN_NOT_CONNECTED_BRANCH = 0x01
const LSTAT_IS_CONNECTOR = 0x02
const LSTAT_ABOVE_CONNECTOR = 0x03
const LSTAT_BELOW_CONNECTOR = 0x04

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

Защищенные статические члены унаследованные от Connector
static getConnectedEntitiesByCondition ($locationPrimary, $linkType='id', $parameters=array())
static getLinkedLocations ($entityPrimary)
static getConnectedLocationsInfo ($entityPrimary)
static queryPage ($sql, $limit=0, $offset=0)

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

Class SiteLocationTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_SiteLocation_Query query() @method static EO_SiteLocation_Result getByPrimary($primary, array $parameters = []) @method static EO_SiteLocation_Result getById($id) @method static EO_SiteLocation_Result getList(array $parameters = []) @method static EO_SiteLocation_Entity getEntity() @method static \Bitrix\Sale\Location\EO_SiteLocation createObject($setDefaultValues = true) @method static \Bitrix\Sale\Location\EO_SiteLocation_Collection createCollection() @method static \Bitrix\Sale\Location\EO_SiteLocation wakeUpObject($row) @method static \Bitrix\Sale\Location\EO_SiteLocation_Collection wakeUpCollection($rows)

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

Методы

◆ getFilePath()

getFilePath ( )
static

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

◆ getLinkField()

getLinkField ( )
static

Method returns name of table column that provides linking between location table and entity table. For example, for delivery it should return 'DELIVERY_ID' Limitation: mechanism does not support compound primary keys

Возвращает
string field name

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

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

◆ getMap()

getMap ( )
static

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

◆ getTableName()

getTableName ( )
static

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

◆ getTargetEntityName()

getTargetEntityName ( )
static

Method should return a name of the "target" entity plus namespace but without trailing 'Table'. For example, for delivery this should be 'Bitrix\Sale\Delivery\Delivery'

Возвращает
string table name

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

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

◆ getTargetEntityPrimaryField()

getTargetEntityPrimaryField ( )
static

Returns a name of the primary field of the "target" entity. By default 'ID' is used for the most. See target entity class for sure.

Возвращает
string

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

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

◆ getUseLinkTracking()

getUseLinkTracking ( )
static

Show whether or not entity use link tracking. Link tracking allows keeping information about link existence in option strings. So, this is some kind of cacheing mechanism. It can be usefull, but may exceed option string length when there are lots of entity records exist.

Возвращает
boolean

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

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

◆ onAfterModifiy()

onAfterModifiy ( )
static

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

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

Поля

◆ ALL_SITES

const ALL_SITES = '*'

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


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