Bitrix API

EntityType : int

Class for processing entityType obtained from entity selector

Table of Contents

Cases

Department  = 2
FlatDepartment  = 3
Unknown
User  = 1

Methods

fromEntityIdAndType()  : EntityType
fromMember()  : EntityType
isDepartment()  : bool
isUser()  : bool

Cases

Methods

fromEntityIdAndType()

public static fromEntityIdAndType(string $entityId, string $entityType) : EntityType
Parameters
$entityId : string
$entityType : string
Return values
EntityType

isDepartment()

public isDepartment() : bool
Return values
bool

isUser()

public isUser() : bool
Return values
bool

        
On this page

Search results