<?php
/**
* Created by JetBrains PhpStorm.
* User: Administrator
* Date: 16-1-5
* Time: 下午2:42
* To change this template use File | Settings | File Templates.
*/
class PostController extends CController{
public function actionTest(){
//获取路径别名
echo Yii::getPathOfAlias('ext');
$this->render('test',array('aa'=>11));
}
}