The CSubscription class is used with subscriptions.
||The method adds a subscription and sends the message containing the
subscription confirmation code to the subscriber unless he has chosen not to
receive such messages.
||The method authorizes a visitor before he can start modifying his
subscription. Successful authorization is stored in the PHP session.
||The method adds an event SUBSCRIBE_CONFIRM to send the message
containing the subscription confirmation code to the subscriber. The message
is created using the template SUBSCRIBE_CONFIRM (subscription confirmation).
||The method deletes a subscription.
||The method returns a subscription by the unique e-mail address.
||The method returns a subscription by its ID.
||The method returns a filtered list of subscriptions.
||The method returns an array of the ID's of subscriptions to which this
e-mail address is subscribed.
||The method returns the selection of subscriptions to which this e-mail
address is subscribed.
||The method returns an array containing fields of the current user
subscription. The subscription is identified by the e-mail stored in the
visitor cookie or by the authorized user e-mail.
||The method checks if the current user is authorized to access the
||The method updates the subscription properties.