[+BUGFIX] Added missing initializeView method in EmptyView
authorClaus Due <claus@wildside.dk>
Thu, 18 Aug 2011 17:03:13 +0000 (19:03 +0200)
committerClaus Due <claus@wildside.dk>
Thu, 18 Aug 2011 17:04:38 +0000 (19:04 +0200)
This change adds an empty function to observe method
requirements set by the interface.

Thanks to Jay Dinse for reporting!

Change-Id: Ie2551cbccfe8eb6d5afb6f9490107b254f38d4a6
Fixes: #28966

typo3/sysext/extbase/Classes/MVC/View/EmptyView.php

index 873e4f0..1e682bd 100644 (file)
@@ -99,5 +99,16 @@ final class Tx_Extbase_MVC_View_EmptyView implements Tx_Extbase_MVC_View_ViewInt
         */
        public function __call($methodName, array $arguments) {
        }
+
+       /**
+        * Initializes this view.
+        *
+        * Override this method for initializing your concrete view implementation.
+        *
+        * @return void
+        * @api
+        */
+       public function initializeView() {
+       }
 }
 ?>
\ No newline at end of file