Documentation

GetById

CSmileSet::getById(
 $id,
 $lang = LANGUAGE_ID
);

The method gets data in sets by the ID. Static method.

Parameters

Parameter Description
id Set ID
lang Language ID to get localization. LANGUAGE_ID by default (constant CSmileSet::GET_ALL_LANGUAGE can be passed to get all localizations)

Returned value

Returns array with set data.



© «Bitrix24», 2001-2024
Up