Documentation

CForumPMFolder::Update

int
Update(
 int ID,
 array arFields
);

The Update method replaces parameters of an existing folder ID with those specified in the arFields array.

Parameters

ParameterDescription
ID The ID of the folder whose parameters are to be modified.
arFields An array of the format Array(field1=>value1[, field2=>value2 [, ..]]):
  • field - field name;
  • value - field value.
The fields are listed in the User folder table.

Return Values

The method returns the ID of modified folder on success, or false otherwise.

See Also

User folder table

  • © «Bitrix24», 2001-2024