SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class EmailTextReg

Variables

NameVisibilityDescription
$default_html_view 
$field_defs 

Functions

NameVisibilityDescription
__constructpublicRegister an email text
getDefaultHTMLpublicReturns the HTML for the default content
getFieldDefspublicAn array of name => description field definitions, for the admin

public __construct

void $EmailTextReg->__construct ( array $field_defs , string $default_html_view );

Register an email text

public getDefaultHTML

unknown $EmailTextReg->getDefaultHTML ( );

Returns the HTML for the default content
This is loaded from a .htm view

public getFieldDefs

unknown $EmailTextReg->getFieldDefs ( );

An array of name => description field definitions, for the admin