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.

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

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?