getLayoutPath() 공개 메소드

Returns the directory that contains layout view files for this module.
public getLayoutPath ( ) : string
리턴 string the root directory of layout files. Defaults to "[[viewPath]]/layouts".
예제 #1
0
파일: Module.php 프로젝트: efueger/luya
 public function getLayoutPath()
 {
     if ($this->useAppLayoutPath) {
         $this->setLayoutPath('@app/views/' . $this->id . '/layouts');
     }
     return parent::getLayoutPath();
 }