Bitrix API

ShareRoleRowAssembler extends RowAssembler

Assembles row values.

The main task of this class is to form a list of `FieldAssembler'.

Usage example:

final class ProductRowAssembler extends RowAssembler
{
protected function prepareFieldAssemblers(): array
{
return [
new UserFieldAssembler([
'CREATED_BY',
'MODIFIED_BY',
]),
new StoreWithInfoFieldAssembler([
'STORE_ID',
]),
];
}
}

Table of Contents

Methods

__construct()  : mixed
prepareRows()  : array<string|int, array<string|int, mixed>>
Gets rows prepared for output.

Methods

__construct()

public __construct(array<string|int, string> $visibleColumnIds) : mixed
Parameters
$visibleColumnIds : array<string|int, string>

prepareRows()

Gets rows prepared for output.

public prepareRows(array<string|int, array<string|int, mixed>> $rowsList) : array<string|int, array<string|int, mixed>>
Parameters
$rowsList : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

        
On this page

Search results