Documentation

GetByType

Note: deprecated starting from version 15.5.2. Use the method CSmile::getBySetId.

CSmile::getByType(
 $type = self::TYPE_ALL,
 $setId = CSmileSet::SET_ID_BY_CONFIG,
 $lang = LANGUAGE_ID
);

The method gets smiley or icon data. Static method.

Parameters

Parameter Description
type Constant type
setId Set ID (by default CSmileSet::SET_ID_ALL - all sets)
lang Language ID to get localization, LANGUAGE_ID by default.


© «Bitrix24», 2001-2024
Up