コード例 #1
0
ファイル: Generator.php プロジェクト: Gnome007/yii2-giiant
 /**
  * @return string the action view file path
  */
 public function getViewPath()
 {
     if ($this->viewPath !== null) {
         return \Yii::getAlias($this->viewPath) . '/' . $this->getControllerID();
     } else {
         return parent::getViewPath();
     }
 }