我的控制器位于以下文件夹 Controller/SiteAction/1700/Participate 中,我的视图文件位于 views/site/eventview。我应该在 eventview 中暗示导航到 Controller/SiteAction/1700/Participate 的按钮。我应该使用
<a class="participate" href="#" onclick="event.preventDefault();ajaxAction('<?=$this->createUrl('_____/p articipate/'.$data->id)?>',$('#real-form1').serialize() + '&NonFormValue=real-form')">
我应该在我的代码中写什么而不是__________/p?