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