public function actionViews()
{
$data['hello'] = '"how do you chinese food? very much,chinese food is awesome."';
return $this->renderPartial('views',$data);
}
{
$data['hello'] = '"how do you chinese food? very much,chinese food is awesome."';
return $this->renderPartial('views',$data);
}
2018-01-05
说实话,很不喜欢混编,就像这里这个,视图文件后缀也是.php的,视图文件里获取数据还要打上php标签<?php ?>这种,不知道后面会不会避免这种方式的出现
2018-01-03