SproutCMS

This is the code documentation for the SproutCMS project

class ContentSubscribe

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-05-06
**/
class NewClassName extends ContentSubscribe {
    
    /**
    * Called by a usort() in the cronjob to sort by the timestamp field
    **/
    public function tsSort ($a, $b) {
        // Method code goes here
    }
    
    /**
    * Subscribe a user to a specified handler.
    **/
    public function subscribe (string $handler_class, array $handler_settings, string $name, string $email) {
        // Method code goes here
    }
    
}
?>