标签:
public function actionIndex(){
$article=\YII::$app->getModule(‘article‘);
$article->runAction("default/index");
}
namespace
use \yii\base\component;
class cat{
public function shout(){
echo "miao miao<br/>";
$this->trigger(‘miao‘);
}
}
标签:
原文地址:http://www.cnblogs.com/wangjinke/p/4878031.html