Documentation

GetByStringId

CSmileSet::getByStringId(
 $stringId,
 $type,
 $lang = LANGUAGE_ID
);

The method gets data on sets by STRING_ID. Static method.

Parameters

Parameter Description Available from version
type Type. Can be CSmileSet::TYPE_SET - set, CSmileSet::TYPE_GALLERY - gallery15.5.2
stringId Set string 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