private static function setViewContext($parentActionViewContext, $viewContext) {
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\View', 'viewContext', $viewContext);
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\Html', 'viewContext', $viewContext);
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\Html', 'parentActionViewContext', $parentActionViewContext);
    }
private static function setViewContext($parentActionViewContext, $viewContext) {
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\View', 'viewContext', $viewContext);
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\Html', 'viewContext', $viewContext);
        InternalHelper::setStaticPropertyValue('\\PhpMvc\\Html', 'parentActionViewContext', $parentActionViewContext);
    }
private static function setViewContext ( $ parentActionViewContext , $ viewContext ) { InternalHelper :: setStaticPropertyValue ( '\\PhpMvc\\View' , 'viewContext' , $ viewContext ) ; InternalHelper :: setStaticPropertyValue ( '\\PhpMvc\\Html' , 'viewContext' , $ viewContext ) ; InternalHelper :: setStaticPropertyValue ( '\\PhpMvc\\Html' , 'parentActionViewContext' , $ parentActionViewContext ) ; }
Sets view context to static classes.

@param ViewContext $parentActionViewContext The ViewContext instance of the action.
@param ViewContext $viewContext The ViewContext instance to set.
Sets view context to static classes .