Bitrix API

Factory

Table of Contents

Methods

__construct()  : mixed
getConfigurationByCode()  : Configuration
getTypeByCode()  : string
makeItem()  : Block
makeStubBlockByRequiredField()  : Block|null

Methods

getTypeByCode()

public getTypeByCode(string $code) : string
Parameters
$code : string
Return values
string

makeItem()

public makeItem(Document $document, string $code, int $party[, array<string|int, mixed>|null $data = null ][, bool $skipSecurity = false ][, Role::*|null $role = null ]) : Block
Parameters
$document : Document
$code : string
$party : int
$data : array<string|int, mixed>|null = null
$skipSecurity : bool = false
$role : Role::*|null = null
Return values
Block

        
On this page

Search results