<?php
namespace App\Mvc; abstract class View_Window_GeneralAbstract extends \App\Mvc\ViewAbstract { protected $renderingTemplate=SMARTY_LAYOUT_MAIN_WINDOW; protected function loadMenu() { } public function getTemplatePath() { return APP_REAL_PATH.$this->controller->getModulePath().'View/_tpl/'.$this->getViewAction().'.tpl'; } public function render() { \Theme::getInstance()->stdModuleSmartyAssign($this); return $this->renderWithCustomTemplate($this->getTemplatePath(), $this->messagesCollector); } } 