Bitrix API

Iblock

Table of Contents

Methods

getElementUrl()  : string
Gets element's url in site context.
onAfterIBlockSectionDelete()  : void
Callback on after delete iblock's section.

Methods

getElementUrl()

Gets element's url in site context.

public static getElementUrl(int|string $siteId, int $elementId) : string
Parameters
$siteId : int|string

Site id (or template code used to create site).

$elementId : int

Element id.

Return values
string

onAfterIBlockSectionDelete()

Callback on after delete iblock's section.

public static onAfterIBlockSectionDelete(array<string|int, mixed> $section) : void
Parameters
$section : array<string|int, mixed>

Section's data.


        
On this page

Search results