public function getLayoutPath() { if ($this->_layoutPath === null) { $this->_layoutPath = $this->getViewPath() . DIRECTORY_SEPARATOR . 'layouts'; } return $this->_layoutPath; }
public function getLayoutPath() { if ($this->useAppLayoutPath) { $this->setLayoutPath('@app/views/' . $this->id . '/layouts'); } return parent::getLayoutPath(); }