Documentation

compileEntityId

string public static
\Bitrix\Highloadblock\HighloadBlockTable::compileEntityId(
    $id
);

Method returns ID for owner entity for highload block fields (string). Static method.

Parameters

ParameterDescriptionVersion
$idHighload block ID (Type: int or string).

Example

//adding field in a highload block
$id = 10; //highload block ID

$fields = array(
    'ENTITY_ID' => \Bitrix\Highloadblock\HighloadBlockTable::compileEntityId($id),
    ... // all the rest of fields
);


© «Bitrix24», 2001-2024