public function setReturnAction($actionId = null)
    {
        if ($actionId === null) {
            $actionId = $this->id;
        }
        if (strpos($actionId, '/') === false) {
            $actionId = $this->controller->getUniqueId() . '/' . $actionId;
        }
        $sessionKey = '__adminReturnAction';
        Yii::$app->getSession()->set($sessionKey, $actionId);
    }
public function setReturnAction($actionId = null)
    {
        if ($actionId === null) {
            $actionId = $this->id;
        }
        if (strpos($actionId, '/') === false) {
            $actionId = $this->controller->getUniqueId() . '/' . $actionId;
        }
        $sessionKey = '__adminReturnAction';
        Yii::$app->getSession()->set($sessionKey, $actionId);
    }
public function setReturnAction ( $ actionId = null ) { if ( $ actionId === null ) { $ actionId = $ this -> id ; } if ( strpos ( $ actionId , '/' ) === false ) { $ actionId = $ this -> controller -> getUniqueId ( ) . '/' . $ actionId ; } $ sessionKey = '__adminReturnAction' ; Yii :: $ app -> getSession ( ) -> set ( $ sessionKey , $ actionId ) ; }
Sets the return action ID.
@param string|null $actionId action ID, if not set current action will be used.
Sets the return action ID .