source/Core/WidgetControl.php
protected function _runLast()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        if ($oConfig->hasActiveViewsChain()) {
            // Removing current active view.
            $oConfig->dropLastActiveView();

            foreach ($this->parentsAdded as $sParentClassName) {
                $oConfig->dropLastActiveView();
            }

            // Setting back last active view.
            $oSmarty = \OxidEsales\Eshop\Core\Registry::getUtilsView()->getSmarty();
            $oSmarty->assign('oView', $oConfig->getActiveView());
        }
    }
protected function _runLast()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        if ($oConfig->hasActiveViewsChain()) {
            // Removing current active view.
            $oConfig->dropLastActiveView();

            foreach ($this->parentsAdded as $sParentClassName) {
                $oConfig->dropLastActiveView();
            }

            // Setting back last active view.
            $oSmarty = \OxidEsales\Eshop\Core\Registry::getUtilsView()->getSmarty();
            $oSmarty->assign('oView', $oConfig->getActiveView());
        }
    }
protected function _runLast ( ) { $ oConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; if ( $ oConfig -> hasActiveViewsChain ( ) ) { // Removing current active view. $ oConfig -> dropLastActiveView ( ) ; foreach ( $ this -> parentsAdded as $ sParentClassName ) { $ oConfig -> dropLastActiveView ( ) ; } // Setting back last active view. $ oSmarty = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsView ( ) -> getSmarty ( ) ; $ oSmarty -> assign ( 'oView' , $ oConfig -> getActiveView ( ) ) ; } }
Runs actions that should be performed at the controller finish.
Runs actions that should be performed at the controller finish .