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". |
public function getLayoutPath() { if ($this->useAppLayoutPath) { $this->setLayoutPath('@app/views/' . $this->id . '/layouts'); } return parent::getLayoutPath(); }