dounei5721 2013-09-03 10:21
浏览 14
已采纳

什么是别名在smarty中意味着什么?

I would like to ask if anyone is familiar with the "h" command on the smarty code?

<input type="hidden" name="category_id" value="<!--{$category_id|h}-->" />

What does the h function mean?

  • 写回答

1条回答 默认 最新

  • duanlushen8940 2013-09-03 11:26
    关注

    The h does not seem to be part of Smarty's standard modifiers or functions. When you navigate to the smarty directory of your project, locate the "plugins" directory and search for a file "modifier.h.php" or "function.h.php" and have a look inside to find out what it does. Smarty comes along with a couple of modifiers and functions, but you are free to add your own, and I guess someone else (if not you) who is working on the same project added this file.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)