added view->initializeView()!
authorSebastian Kurfürst <sebastian@typo3.org>
Fri, 27 Mar 2009 15:32:51 +0000 (15:32 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Fri, 27 Mar 2009 15:32:51 +0000 (15:32 +0000)
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
typo3/sysext/extbase/Classes/MVC/View/AbstractView.php

index 152113c..7fed227 100644 (file)
@@ -137,6 +137,7 @@ class Tx_ExtBase_MVC_Controller_ActionController extends Tx_ExtBase_MVC_Controll
 
                $this->view = t3lib_div::makeInstance($viewObjectName);
                $this->view->setRequest($this->request);
+               $this->view->initializeView();
        }
 
        /**
index 5ffe7e7..e03b1db 100755 (executable)
@@ -60,7 +60,7 @@ abstract class Tx_ExtBase_MVC_View_AbstractView implements Tx_ExtBase_MVC_View_V
         * Returns an View Helper instance.
         * View Helpers must implement the interface Tx_ExtBase_MVC_View_Helper_HelperInterface
         *
-        * @param string $viewHelperClassName the full name of the View Helper Class including 
+        * @param string $viewHelperClassName the full name of the View Helper Class including
         * @return Tx_ExtBase_MVC_View_Helper_HelperInterface The View Helper instance
         */
        public function getViewHelper($viewHelperClassName) {
@@ -82,9 +82,9 @@ abstract class Tx_ExtBase_MVC_View_AbstractView implements Tx_ExtBase_MVC_View_V
         *
         * @return void
         */
-       protected function initializeView() {
+       public function initializeView() {
        }
-       
+
 }
 
 ?>
\ No newline at end of file