假设我有以下观点:
http://localhost/site/www/index.php/products/view/1
然后
Yii::app()->request->getUrl() ==> /site/www/index.php/products/view/1
Yii::app()->getController()->id ==> products
Yii::app()->getController()->getAction()->id; ==> view
如何访问“/1”部分?