GetDefaultId
CSmileGallery::getDefaultId( );
The method allows to get Gallery ID by default. Static method.
Parameters
Event | Is called | Class | Available from version |
---|---|---|---|
OnBeforeSmileGalleryGetDefaultId | before getting smiley settings. Allows to replace the result, if required.
AddEventHandler("main", "OnBeforeSmileGalleryGetDefaultId", "___OnBeforeSmileGalleryGetDefaultId"); function ___OnBeforeSmileGalleryGetDefaultId($setId) { return 16; } echo CSmileGallery::getDefaultId(); // return 16 | getDefaultId |
© «Bitrix24», 2001-2024