Closed ijackwu closed 6 years ago
并不是丢失了 而是需要使用 <?=$PRM['xxx']?>
的方式来使用
PRM 字段名在config中 paramsKey定义
区别在于 可以灵活的使用 $PRM['xxx']
和 $PRM->xxx
来选择性过滤xss 或者原始输出
第三个参数object 主要是用来给object对象使用的 数组/字符串对象建议都放在第二个参数中以达到自动过滤xss的作用
$key = $this->config['paramsKey']; $this->objects[$key] = new TXArray($this->params); extract($this->objects);
确实是,3Q
配置
paramsType
使用one
第二个参数 params 就丢失了,模板无法使用上了 不太理解为什么要使用两个 params,objectsTXResponse.php