public function getViewPath() { if ($this->_viewPath === null) { $this->_viewPath = $this->module->getViewPath() . DIRECTORY_SEPARATOR . $this->id; } return $this->_viewPath; }