SproutCMS

This is the code documentation for the SproutCMS project

function __construct()

Register an email text

Usage

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

Arguments

  1. array $field_defs
    An array of name => description field definitions, for the admin
           e.g. array('first_name' => 'First name of the new user)
  2. string $default_html_view
    The view name for the default text. Must be a .htm view
           e.g 'email/user_welcome'

Return value

  • void