Bitrix Site Manager

CForumPrivateMessage::Update

int
Update(
 int ID,
 array arFields
);

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

Parameters

ParameterDescription
ID The ID of the message 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 Private message table.

Return Values

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

See Also

Private message table