3.5.2.4.5 action

$this->params['action']
  1. $this->params['action']

保存请求中的action的名字,比如:如果URL是这样/posts/view/1, 那么$this->params['action']就等于view