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.
Parameter | Description |
---|---|
arFields |
An array in the format Array(field1=>value1[, field2=>value2 [, ..]]),
where:
|
Returns the ID of the new subscription on success or false otherwise.
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |