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

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

static getFilePath ()
static getTableName ()
static getTypeField ()
static getLinkField ()
static getTargetEntityName ()
static getUseGroups ()
static getMap ()
static deleteByGroupId ($groupId)
Открытые статические члены унаследованные от Connector
static getLocationLinkField ()
static getTargetEntityPrimaryField ()
static getUseLinkTracking ()
static getConnectType ()
static getUseCodes ()
static add (array $data)
static update ($primary, array $data)
static delete ($primary)
static onAfterModifiy ()
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())

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

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

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_GroupLocation_Query query() @method static EO_GroupLocation_Result getByPrimary($primary, array $parameters = []) @method static EO_GroupLocation_Result getById($id) @method static EO_GroupLocation_Result getList(array $parameters = []) @method static EO_GroupLocation_Entity getEntity() @method static \Bitrix\Sale\Location\EO_GroupLocation createObject($setDefaultValues = true) @method static \Bitrix\Sale\Location\EO_GroupLocation_Collection createCollection() @method static \Bitrix\Sale\Location\EO_GroupLocation wakeUpObject($row) @method static \Bitrix\Sale\Location\EO_GroupLocation_Collection wakeUpCollection($rows)

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

Методы

◆ deleteByGroupId()

deleteByGroupId ( $groupId)
static

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

◆ getFilePath()

getFilePath ( )
static

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

◆ 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.

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

◆ getMap()

getMap ( )
static

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

◆ getTableName()

getTableName ( )
static

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

◆ 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.

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

◆ getTypeField()

getTypeField ( )
static

Returns a name of type filed. By default 'LOCATION_TYPE' is used for the most of. Does not make any sense if getUseGroups() returns false

Возвращает
string

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

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

◆ getUseGroups()

getUseGroups ( )
static

Show whether or not entity use linking through groups. E.g. delivery would return true, but location groups (which can be treated as entity too) - always return false (groups cannot be connected with groups)

Возвращает
boolean

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

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


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