SproutCMS

This is the code documentation for the SproutCMS project

class EmailText

Source code (5 results)

/sprout/Controllers/Admin/EmailTextAdminController.php   Highlighted file source

Line 16: use Sprout\Helpers\EmailText;
Line 24: class EmailTextAdminController extends ManagedAdminController
Line 67: $view->field_defs = EmailText::getFieldDefs($view->data['name']);

/sprout/Controllers/Admin/OperatorAdminController.php   Highlighted file source

Line 22: use Sprout\Helpers\EmailText;
Line 83: $tools[] = '<li class="config"><a href="' . EmailText::adminEditUrl('operator.welcome') . '">Edit welcome message email</a></li>';
Line 257: $text = EmailText::getHtml('operator.welcome', $_POST);

/sprout/Helpers/EmailText.php   Highlighted file source

Line 23: class EmailText
Line 37: $reg = Register::getEmailText($code);
Line 39: throw new Exception('Did not find registration for emailText with code of "' . $code . '"');
Line 73: $reg = Register::getEmailText($code);
Line 94: $reg = Register::getEmailText($code);
Line 96: throw new Exception('Did not find registration for emailText with code of "' . $code . '"');

/sprout/Helpers/Register.php   Highlighted file source

Line 36: private static $emailtexts = array();
Line 214: public static function emailText($code, array $field_defs, $default_html_view)
Line 216: self::$emailtexts[$code] = new EmailTextReg($field_defs, $default_html_view);
Line 220: * Get all registered email texts. Returns an array of EmailTextReg objects
Line 222: public static function getEmailTexts()
Line 224: return self::$emailtexts;
Line 228: * Get a single registered email texts. Returns an EmailTextReg object
Line 230: public static function getEmailText($code)
Line 232: return self::$emailtexts[$code];
Line 292: self::$admin_controllers['email_text'] = '\\Sprout\\Controllers\\Admin\\EmailTextAdminController';

A total of 23 lines in 5 files were found