Base class for the content subscription handlers
This is the code documentation for the SproutCMS project
Search documentation |
class SubscribeBase class for the content subscription handlers
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-11-05
**/
class NewClassName extends Subscribe {
/**
* Return a list of records for the provided settings
**/
public function getList (array $handler_settings, int $since) {
// Method code goes here
}
/**
* Return a (string) name for this subscription.
* You can use the settings to tweak the title (e.g. the category of articles).
**/
public function getName (array $handler_settings) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|