diff --git a/code/view/abstract.php b/code/view/abstract.php
index <HASH>..<HASH> 100644
--- a/code/view/abstract.php
+++ b/code/view/abstract.php
@@ -377,11 +377,12 @@ abstract class ViewAbstract extends Object implements ViewInterface, CommandCall
     /**
      * Get the view context
      *
+     * @param   ViewContextInterface $context Context to cast to a local context
      * @return  ViewContext
      */
-    public function getContext()
+    public function getContext(ViewContextInterface $context = null)
     {
-        $context = new ViewContext();
+        $context = new ViewContext($context);
         $context->setEntity($this->getModel()->fetch());
         $context->setData($this->getData());
         $context->setParameters($this->getParameters());
Issue #<I>: Add 'context' method param to getContext() to allow context to be casted