【发布时间】:2015-01-19 06:38:27
【问题描述】:
我想像这样在 html 助手中嵌入 angularjs 表达式。
<td><?php
echo $this->html->link(_('{{row.Document.name}}'), array('controller' => 'documents', 'action' => 'edit', '_({{row.Document.id}})'));
?>
</td>
在这段代码中,它能够正确获取名称参数,但不能正确获取 id,只是想知道如何修复它?
谢谢。
【问题讨论】:
标签: javascript angularjs cakephp html-helper