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 前后端分离的学习疑问?
  • ¥15 stata实证代码答疑
  • ¥15 MATLAB数据处理插值
  • ¥50 husky+jaco2实现在gazebo与rviz中联合仿真
  • ¥15 dpabi预处理报错:Error using y_ExtractROISignal (line 251)
  • ¥15 在虚拟机中配置flume,无法将slave1节点的文件采集到master节点中
  • ¥15 husky+kinova jaco2 仿真
  • ¥15 zigbee终端设备入网失败
  • ¥15 金融监管系统怎么对7+4机构进行监管的
  • ¥15 硬件IIC从模式的数据发送,中断数据的接收,不能用HAL库(按照时序图)