This is the code documentation for the SproutCMS project
Search documentation |
class EmailText
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-15
**/
class NewClassName extends EmailText {
/**
* Return email text HTML
**/
public function getHtml (string $code, array $field_values) {
// Method code goes here
}
/**
* Return an array of name => desc for the field definitions for a given email template
* Used for the admin ui
**/
public function getFieldDefs ($code) {
// Method code goes here
}
/**
* Return the URL to use for editing a given template
* Note that this method creates a template record if it doesn't yet exist
**/
public function adminEditUrl ($code) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|