Bitrix API

TypeRelations

Table of Contents

Methods

__construct()  : mixed
createFromItem()  : static
Creates object instance from Item
getParentFieldName()  : string
getParentTypeIds()  : array<string|int, int>
Returns parent relations type ids of item
isParentFieldName()  : bool
isParentType()  : bool
Returns true if types are bound as parent child

Methods

createFromItem()

Creates object instance from Item

public static createFromItem(Item $item) : static
Parameters
$item : Item
Return values
static

getParentFieldName()

public getParentFieldName(int $parentTypeId) : string
Parameters
$parentTypeId : int
Return values
string

getParentTypeIds()

Returns parent relations type ids of item

public getParentTypeIds() : array<string|int, int>
Return values
array<string|int, int>

isParentFieldName()

public isParentFieldName(string $fieldName) : bool
Parameters
$fieldName : string
Return values
bool

isParentType()

Returns true if types are bound as parent child

public isParentType(int $parentTypeId) : bool
Parameters
$parentTypeId : int
Return values
bool

        
On this page

Search results