class Admin_ArticleController extends Blog_Controller_Action {
....
function modifyAction(){
//如何在这里取值
$id = (int)$this->_request->getParam('id');
}
}
<?php foreach($this->data as $data) : ?>
<tr>
<td><?php echo $this->escape($data->title);?></td>
<td><?php echo $this->escape($data->content);?></td>
<td><?php echo $this->escape($data->post_time);?></td>
<td><?php echo $this->escape($data->publish);?></td>
<td>
<a href="/blog/admin/article/modify/id/<?php echo $this->escape($data->content_id);?>/">修改</a>
<a href="/blog/admin/article/del/id/<?php echo $this->escape($data->content_id);?>/">删除</a>
</td>
</tr>
<?php endforeach; ?>