Utils
Table of Contents
Methods
- getElementId() : int
- Returns an element id by code or id.
- getIblockId() : int
- Returns an iblock id by code or id.
- getSectionId() : int
- Returns an section id by code or id.
Methods
getElementId()
Returns an element id by code or id.
public
static getElementId(array<string|int, mixed> $params) : int
Parameters
- $params : array<string|int, mixed>
-
Incoming parameters.
Return values
intgetIblockId()
Returns an iblock id by code or id.
public
static getIblockId(array<string|int, mixed> $params) : int
Parameters
- $params : array<string|int, mixed>
-
Incoming parameters.
Return values
intgetSectionId()
Returns an section id by code or id.
public
static getSectionId(array<string|int, mixed> $params) : int
Parameters
- $params : array<string|int, mixed>
-
Incoming parameters.