public function getViewPath()
{
if (empty($this->viewPath)) {
return Yii::getAlias('@app/views/' . $this->getControllerID());
} else {
return Yii::getAlias($this->viewPath . '/' . $this->getControllerID());
}
}