CForumSubscribe::Add
int Add( array arFields );
Creates a new record in the subscription table given the specified parameters. Before calling this method, you should check whether the current user can subscribe by calling CForumSubscribe::CanUserAddSubscribe.
Parameters
Parameter | Description |
---|---|
arFields |
An array in the format Array(field1=>value1[, field2=>value2 [, ..]]),
where:
|
Return Values
Returns the ID of the new subscription on success or false otherwise.
See Also
© «Bitrix24», 2001-2024