Skip to content
Docs

Class and function reference

MailTemplate

List of public methods of the Zittme\Framework\MailTemplate class. This document was automatically generated from the Zittme core source.

Source: common/framework/MailTemplate.php

Public methods

  • static function wrap(string $title, string $body, array $options = [])
  • Wraps the body in the common layout.
  • static function infoTable(array $rows)
  • An information list in label : value form. In email, <ul> indentation varies by client
  • static function highlight(string $label, string $value)
  • Highlight box — for values that must stand out, such as a temporary password.
  • static function button(string $url, string $label, string $color = '')
  • Action button. Also leaves the raw URL for environments where the button cannot be clicked.
  • static function getPointColor()
  • The accent color set by the administrator (default if none).