MailTemplate
Zittme\Framework\MailTemplate 類別的公開方法清單。本文件由 Zittme 核心原始碼自動產生。
原始碼:common/framework/MailTemplate.php
公開方法
static function wrap(string $title, string $body, array $options = [])- 以共用版面包覆內文。
static function infoTable(array $rows)- 標籤 : 值 形式的資訊清單。在郵件中 <ul> 的縮排會因各用戶端而
static function highlight(string $label, string $value)- 強調方塊 — 用於像臨時密碼這類需要醒目顯示的值。
static function button(string $url, string $label, string $color = '')- 行動按鈕。為了無法點按按鈕的環境,也會一併保留原始網址。
static function getPointColor()- 管理員指定的強調色(未指定時使用預設值)。