qingbing/pf-tools-replace-setting

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

工具——替换模版内容获取

1.0.1 2019-03-20 03:29 UTC

This package is auto-updated.

Last update: 2021-09-20 10:37:14 UTC


README

描述

工具——替换模版内容获取

注意事项

  • 引用的主要小部件
    • qingbing/php-file-cache
    • qingbing/php-database
    • qingbing/php-application
    • qingbing/php-form-generator
    • qingbing/pf-tools-form-setting

使用方法

// 测试案例
$content = \Tools\ReplaceSetting::getInstance('mail_findPassword')->getContent([
    '{{username}}' => '用户名',
    '{{email}}' => '666666@qq.com',
    '{{password_back_link}}' => 'http://www.phpcorner.net',
    '{{expire_time}}' => '2019-10-10',
]);

echo $content;

====== 异常代码集合 ======

异常代码格式:1038 - XXX - XX (组件编号 - 文件编号 - 代码内异常)

 - 无