\FoundationEmails
An html helper for Foundation Emails with or without Inky
- Author: LeKoala <thomas@lekoala.be>
Synopsis
class FoundationEmails
implements
TemplateGlobalProvider
{
- // constants
- const THEME_NONE = 'none';
- const THEME_CEEJ = 'ceej';
- const THEME_VISION = 'vision';
- // members
- private static string $theme = '';
- // methods
- public static array get_template_global_variables()
- public static string spacer()
- public static string button()
- public static string callout()
- public static string grid()
- public static string container()
- public static string row()
- public static string column()
- public static string inky()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\View\TemplateGlobalProvider
Constants
Name | Value |
---|---|
THEME_NONE | 'none' |
THEME_CEEJ | 'ceej' |
THEME_VISION | 'vision' |
Members
private
- $theme — string
Methods
public
- callout() — Create a callout
- column() — Create a column
- container() — Create a container
- get_template_global_variables()
- grid() — Create content in a grid. Columns will have the same size and need to be a multiple of 12.
- inky() — Parse inky markup
- row() — Create a row
- spacer() — Render a space in content