SproutCMS

This is the code documentation for the SproutCMS project

class EmailTextReg

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends EmailTextReg {
    
    /**
    * Returns the HTML for the default content
    * This is loaded from a .htm view
    **/
    public function getDefaultHTML () {
        // Method code goes here
    }
    
    /**
    * Register an email text
    **/
    public function __construct (array $field_defs, string $default_html_view) {
        // Method code goes here
    }
    
    /**
    * An array of name =&gt; description field definitions, for the admin
    **/
    public function getFieldDefs () {
        // Method code goes here
    }
    
}
?>