Add
CSmileGallery::add( Array( 'STRING_ID' => 'new_category', 'SORT' => 300, 'LANG' => Array( 'en' => 'New category', ) ) );
The method adds a smiley gallery. Static method.
Parameters
Parameter | Description |
---|---|
STRING_ID | String key for search and import |
SORT | Sorting |
LANG | Smiley name |
Returned value
Returns $ID on success and false otherwise in case of an error (CApplicationException Class is created)
© «Bitrix24», 2001-2024
Up