Documentation

Update

CSmileGallery::update(
   id,
   Array(
    'STRING_ID' => 'new_category',
    'SORT' => 300,
    'LANG' => Array( 
        'en' => 'New category',
      )
   )
);

The method updates smiley gallery data. Static method.

Parameters

Parameter Description
id Smiley ID
Parameter array
STRING_ID String key for search and import
SORT Sorting
LANG Smiley name

Returned value

Returns true on success and false in case of an error (CApplicationException class is created)



© «Bitrix24», 2001-2024