Bitrix API

Group

Table of Contents

Methods

__construct()  : mixed
createOrGet()  : Group|null
delete()  : Result
getId()  : int
getInstance()  : Group|null
getOwner()  : DefaultOwner
isEditableBy()  : bool
update()  : Result

Methods

__construct()

public __construct(int $id) : mixed
Parameters
$id : int

createOrGet()

public static createOrGet(DefaultOwner $owner, string $title[, string|null $description = null ]) : Group|null
Parameters
$owner : DefaultOwner
$title : string
$description : string|null = null
Return values
Group|null

delete()

public delete() : Result
Return values
Result

getId()

public getId() : int
Return values
int

getInstance()

public static getInstance(mixed $id) : Group|null
Parameters
$id : mixed
Return values
Group|null

isEditableBy()

public isEditableBy(Consumer $consumer) : bool
Parameters
$consumer : Consumer
Return values
bool

update()

public update(array<string|int, mixed> $data) : Result
Parameters
$data : array<string|int, mixed>
Return values
Result

        
On this page

Search results