SproutCMS

This is the code documentation for the SproutCMS project

class ContentSubscribeController

Handles subscriptions to various types of content in a centralised manner

Subscribers are emailed regarding new/updated content as various subscription handlers see fit

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-15
**/
class NewClassName extends ContentSubscribeController {
    
    /**
    * Send the content subscription emails to the users who have registered
    **/
    public function cronSendSubscriptions () {
        // Method code goes here
    }
    
    /**
    * Tool to clean up subscriptions which refer to classes that don't exist.
    **/
    public function cleanupInvalidClasses () {
        // Method code goes here
    }
    
    /**
    * Unsubscribe a user from a subscription (action)
    **/
    public function unsubAction ($id, $code) {
        // Method code goes here
    }
    
    public function __construct () {
        // Method code goes here
    }
    
    /**
    * Unsubscribe a user from a subscription (form)
    **/
    public function unsub ($id, $code) {
        // Method code goes here
    }
    
}
?>