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

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

static getFilePath ()
 
static getTableName ()
 
static getLinkField ()
 
static getLocationLinkField ()
 
static getTargetEntityName ()
 
static getMap ()
 
- Открытые статические члены унаследованные от Connector
static getTypeField ()
 
static getTargetEntityPrimaryField ()
 
static getUseGroups ()
 
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 CompanyLocationTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_CompanyLocation_Query query() @method static EO_CompanyLocation_Result getByPrimary($primary, array $parameters = []) @method static EO_CompanyLocation_Result getById($id) @method static EO_CompanyLocation_Result getList(array $parameters = []) @method static EO_CompanyLocation_Entity getEntity() @method static \Bitrix\Sale\Internals\EO_CompanyLocation createObject($setDefaultValues = true) @method static \Bitrix\Sale\Internals\EO_CompanyLocation_Collection createCollection() @method static \Bitrix\Sale\Internals\EO_CompanyLocation wakeUpObject($row) @method static \Bitrix\Sale\Internals\EO_CompanyLocation_Collection wakeUpCollection($rows)

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

Методы

◆ getFilePath()

static getFilePath ( )
static

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

◆ getLinkField()

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

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

◆ getLocationLinkField()

static getLocationLinkField ( )
static

Returns a name of the filed that keep location id or code. By default 'LOCATION_ID' is used for the most. For newly-created entites this should be LOCATION_CODE (string)

Возвращает
string

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

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

◆ getMap()

static getMap ( )
static

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

◆ getTableName()

static getTableName ( )
static

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

◆ getTargetEntityName()

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

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