Update
int CSocNetSmile::Update( int id, array arFields );
The method updates smiley parameters. Non-static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
id | Smiley ID. | |
arFields | Array of new smiley parameter values. Can contain the following keys: SORT - sorting index, SMILE_TYPE - smiley type, TYPING - spelling, IMAGE - image, IMAGE_WIDTH - image width, IMAGE_HEIGHT - image height, DESCRIPTION - description. Additionally, the array can contain the LANG key with language-dependent smiley parameters. This key contains multiple arrays with these keys: LID - language and NAME - smiley name. When the LANG key is set, all the old language-dependant parameters are deleted. | .
Returned values
Returns updated record ID or false otherwise.
© «Bitrix24», 2001-2024