CForumTopic::Update
int Update( int ID, array arFields [, bool skip_counts] );
The method Update modifies the parameters of the existing topic specified by the ID. Returns the ID of the modified topic.
Parameters
Parameter | Description |
---|---|
ID | The ID of the topic whose parameters are to be modified. |
arFields |
An array of the format Array(field1=>value1[, field2=>value2 [, ..]]),
where
|
skip_counts |
If true, the statistical data is not updated when the topic is
modified. It speeds up the method execution but causes information to
become somewhat logically inconsistent. Optional. False by default. |
Return Values
Returns the ID of the modified topic on success, or false otherwise.See Also
© «Bitrix24», 2001-2024