Yii
- 1 ответ
- 0 вопросов
0
Вклад в тег
'components'=>array(
…
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'<seoword:\w+>/<filter:\w+>/<param:\w+>'=>'site/index'
),
),
),
public function actionIndex() {
Yii::app()->request->getParam("seoword")
Yii::app()->request->getParam("filter")
Yii::app()->request->getParam("param")
$this->render('index');
}
public function actionIndex($seoword,$filter,$param) {
$this->render('index');
}