private function _renderCorrectView() { $this->view->contentForm = $this->_contentForm; $rendered = ''; switch ($this->_containerType) { case Application_Model_Models_Container::TYPE_REGULARCONTENT: case Application_Model_Models_Container::TYPE_STATICCONTENT: $this->view->imagesSizes = array('small' => $this->_helper->config->getConfig('imgSmall'), 'medium' => $this->_helper->config->getConfig('imgMedium'), 'large' => $this->_helper->config->getConfig('imgLarge')); $this->view->linkContentCss = Tools_Theme_Tools::urlContentCss(); $this->view->pluginsEditorLinks = $this->_loadPluginsEditorLinks(); $this->view->pluginsEditorTop = $this->_loadPluginsEditorTop(); $rendered = $this->view->render('backend/content/content.phtml'); break; case Application_Model_Models_Container::TYPE_REGULARHEADER: case Application_Model_Models_Container::TYPE_STATICHEADER: $rendered = $this->view->render('backend/content/header.phtml'); break; case Application_Model_Models_Container::TYPE_CODE: $rendered = $this->view->render('backend/content/code.phtml'); break; } return $rendered; }