Documentation

GetById

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

The method gets gallery data by the ID. Static method.

Parameters

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

Returned value

Returns array with gallery data.



© «Bitrix24», 2001-2022
Up