Bitrix API

AccessRightEntityInterface

Table of Contents

Methods

__construct()  : mixed
getAvatar()  : string|null
URL to avatar image.
getId()  : int
Entity id.
getMetaData()  : array<string|int, mixed>
Meta data for entity.
getName()  : string
Entity name.
getType()  : string
Entity type.
getUrl()  : string
Url to entity detail page.

Methods

getAvatar()

URL to avatar image.

public getAvatar(int $width, int $height) : string|null
Parameters
$width : int
$height : int
Return values
string|null

getMetaData()

Meta data for entity.

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

in format:

[
		'type' => ...
		'id' => ...
		'name' => ...
		'url' => ...
		'avatar' => ...
]

getType()

Entity type.

public getType() : string

Returns access code.

Tags
see
AccessCode

TYPE_* constants.

Return values
string

        
On this page

Search results