SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class EmailText

Functions

NameVisibilityDescription
adminEditUrlpublic (static)Return the URL to use for editing a given template
getFieldDefspublic (static)Return an array of name => desc for the field definitions for a given email template
getHtmlpublic (static)Return email text HTML

public adminEditUrl

unknown EmailText::adminEditUrl ( mixed $code );

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 getFieldDefs

unknown EmailText::getFieldDefs ( mixed $code );

Return an array of name => desc for the field definitions for a given email template
Used for the admin ui

public getHtml

unknown EmailText::getHtml ( string $code , array $field_values );

Return email text HTML