src/components/FormComponent.php
protected function setUserSessionBackup()
    {
        $this->userSessionBackup = isset($_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL]) ? $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] : null;
        $fakeUser = new \stdClass();
        $fakeUser->username = self::SESSION_PARAMETER_FORM_COMPONENT;
        $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] = $fakeUser;
    }
protected function setUserSessionBackup()
    {
        $this->userSessionBackup = isset($_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL]) ? $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] : null;
        $fakeUser = new \stdClass();
        $fakeUser->username = self::SESSION_PARAMETER_FORM_COMPONENT;
        $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] = $fakeUser;
    }
protected function setUserSessionBackup ( ) { $ this -> userSessionBackup = isset ( $ _SESSION [ self :: SESSION_PARAMETER_CLOUDCONTROL ] ) ? $ _SESSION [ self :: SESSION_PARAMETER_CLOUDCONTROL ] : null ; $ fakeUser = new \ stdClass ( ) ; $ fakeUser -> username = self :: SESSION_PARAMETER_FORM_COMPONENT ; $ _SESSION [ self :: SESSION_PARAMETER_CLOUDCONTROL ] = $ fakeUser ; }
Temporarily stores the current user session in a backup variable
and sets a fake user instead
Temporarily stores the current user session in a backup variable and sets a fake user instead