<?php
namespace ModulesAbstract\ImportedOrdersFileManager; class View_DisplayFileDetails extends \App\Mvc\View_Window_GeneralAbstract { protected $renderingTemplate = NULL; protected $absLang= []; protected function loadTranslations() { parent::loadTranslations(); $this->absLang = \App\Loader_Lang::getInstance()->loadAppFolder('_customLoad/modulesAbstract/importedOrdersFileManager')->getSection('ModulesAbstract/ImportedOrdersFileManager'); } protected function assignSmartyDefaultVars($smarty) { parent::assignSmartyDefaultVars($smarty); $smarty->assign('absLang', $this->absLang); $smarty->assign('messages', $this->getMessagesCollector()->getMessages()); } public function render() { \Theme::getInstance()->stdModuleSmartyAssign($this); return $this->renderWithCustomTemplate($this->renderingTemplate, $this->messagesCollector); } public function renderStandalone() { $CSS = \Engine\Theme\CSSLoader\CSSLoader::getInstance(); $JS = \Engine\Theme\JSLoader\JSLoader::getInstance(); $output = $CSS->initializeRequestKeyFromMvcView($this); $output.= $CSS->preload(); $output.= $JS->preload(); $output.= $this->render(); $output.= $CSS->postload(); $output.= $JS->postload(); return $output; } }