会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ZhYQ_note
2019年4月22日
twig输出转义
摘要: twig输出转义--需求:传一个变量到 twig 中,需要插入几个空格,类似于下面这样:sprintf("%s%s -- %s", str_repeat(' ', $path_level-5), str_repeat("|", $path_level-5), $baseName);但是渲染
阅读全文
posted @ 2019-04-22 19:11 ZhYQ_note
阅读(942)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告