Bitrix API

Department

Table of Contents

Methods

__construct()  : mixed
getAccessCode()  : string|null
getCreatedAt()  : DateTime|null
getCreatedBy()  : int|null
getDepth()  : int|null
getIblockSectionId()  : int|null
TODO: remove after remove UF_DEPARTMENT Only for migrated structures
getId()  : int|null
getName()  : string
getParentId()  : int|null
getSort()  : int|null
getUpdatedAt()  : DateTime|null
getXmlId()  : string|null
isActive()  : bool
isGlobalActive()  : bool
setAccessCode()  : void
setCreatedAt()  : void
setCreatedBy()  : void
setDepth()  : void
setId()  : void
setIsActive()  : void
setIsGlobalActive()  : void
setName()  : void
setParentId()  : void
setSort()  : void
setUpdatedAt()  : void
setXmlId()  : void
toIblockArray()  : array<string|int, mixed>

Methods

__construct()

public __construct(string $name[, int|null $id = null ][, int|null $parentId = null ][, int|null $createdBy = null ][, DateTime|null $createdAt = null ][, DateTime|null $updatedAt = null ][, string|null $xmlId = null ][, int|null $sort = 500 ][, bool|null $isActive = true ][, bool|null $isGlobalActive = true ][, int|null $depth = null ][, string|null $accessCode = null ]) : mixed
Parameters
$name : string
$id : int|null = null
$parentId : int|null = null
$createdBy : int|null = null
$createdAt : DateTime|null = null
$updatedAt : DateTime|null = null
$xmlId : string|null = null
$sort : int|null = 500
$isActive : bool|null = true
$isGlobalActive : bool|null = true
$depth : int|null = null
$accessCode : string|null = null

getAccessCode()

public getAccessCode() : string|null
Return values
string|null

getCreatedBy()

public getCreatedBy() : int|null
Return values
int|null

getDepth()

public getDepth() : int|null
Return values
int|null

getIblockSectionId()

TODO: remove after remove UF_DEPARTMENT Only for migrated structures

public getIblockSectionId() : int|null
Return values
int|null

getId()

public getId() : int|null
Return values
int|null

getName()

public getName() : string
Return values
string

getParentId()

public getParentId() : int|null
Return values
int|null

getSort()

public getSort() : int|null
Return values
int|null

getXmlId()

public getXmlId() : string|null
Return values
string|null

isActive()

public isActive() : bool
Return values
bool

isGlobalActive()

public isGlobalActive() : bool
Return values
bool

setAccessCode()

public setAccessCode(string|null $accessCode) : void
Parameters
$accessCode : string|null

setCreatedBy()

public setCreatedBy(int|null $createdBy) : void
Parameters
$createdBy : int|null

setDepth()

public setDepth(int|null $depth) : void
Parameters
$depth : int|null

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setIsActive()

public setIsActive(bool $isActive) : void
Parameters
$isActive : bool

setIsGlobalActive()

public setIsGlobalActive(bool $isGlobalActive) : void
Parameters
$isGlobalActive : bool

setName()

public setName(string $name) : void
Parameters
$name : string

setParentId()

public setParentId(int|null $parentId) : void
Parameters
$parentId : int|null

setSort()

public setSort(int|null $sort) : void
Parameters
$sort : int|null

setXmlId()

public setXmlId(string|null $xmlId) : void
Parameters
$xmlId : string|null

toIblockArray()

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

        
On this page

Search results