public function saveStatefullVars($sessionContext)
    {
        if ($this->dropSession){
            $sessionContext->cleanObj($this->objectName, true);
        }else{
            $sessionContext->saveObjVar($this->objectName, "FormStates", $this->formStates, true);
            $sessionContext->saveObjVar($this->objectName, "CurrentStep", $this->currentStep, true);
        }
        
    }
public function saveStatefullVars($sessionContext)
    {
        if ($this->dropSession){
            $sessionContext->cleanObj($this->objectName, true);
        }else{
            $sessionContext->saveObjVar($this->objectName, "FormStates", $this->formStates, true);
            $sessionContext->saveObjVar($this->objectName, "CurrentStep", $this->currentStep, true);
        }
        
    }
public function saveStatefullVars ( $ sessionContext ) { if ( $ this -> dropSession ) { $ sessionContext -> cleanObj ( $ this -> objectName , true ) ; } else { $ sessionContext -> saveObjVar ( $ this -> objectName , "FormStates" , $ this -> formStates , true ) ; $ sessionContext -> saveObjVar ( $ this -> objectName , "CurrentStep" , $ this -> currentStep , true ) ; } }
Save Session data of this object

@param \Openbizx\Web\SessionContext $sessionContext
@return void
Save Session data of this object