protected function handleBackgroundDataTransfer()
    {
        // Get stored information
        $pool = $this->getDataPool();

        $lastValidStep = (
            true === $this->wasSubmitted() &&
            true === $this->isValid()
        ) ? $this->getStep() : $this->getDataPoolValue(Doozr_Form_Service_Constant::IDENTIFIER_LASTVALIDSTEP);

        // Collect important information
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_COMPONENTS][$this->getActiveStep()] = $this->getComponents($this->getForm());
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_METHOD]                             = $this->getMethod();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_STEP]                               = $this->getActiveStep();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_FILES][$this->getActiveStep()]      = $this->getFiles();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_STEPS]                              = $this->getSteps();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_TOKEN]                              = $this->getToken();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_UPLOAD]                             = $this->getUpload();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_LASTVALIDSTEP]                      = $lastValidStep;
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_TOKENBEHAVIOR]                      = $this->getInvalidTokenBehavior();

        // Store the information
        $this->getStore()->create($this->addPrefix($this->getScope()), $pool);
        $this->setDataPool($pool);

        // Send header
        $this->sendHeader();

        dump($this->getActiveStep());
    }
protected function handleBackgroundDataTransfer()
    {
        // Get stored information
        $pool = $this->getDataPool();

        $lastValidStep = (
            true === $this->wasSubmitted() &&
            true === $this->isValid()
        ) ? $this->getStep() : $this->getDataPoolValue(Doozr_Form_Service_Constant::IDENTIFIER_LASTVALIDSTEP);

        // Collect important information
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_COMPONENTS][$this->getActiveStep()] = $this->getComponents($this->getForm());
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_METHOD]                             = $this->getMethod();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_STEP]                               = $this->getActiveStep();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_FILES][$this->getActiveStep()]      = $this->getFiles();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_STEPS]                              = $this->getSteps();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_TOKEN]                              = $this->getToken();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_UPLOAD]                             = $this->getUpload();
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_LASTVALIDSTEP]                      = $lastValidStep;
        $pool[Doozr_Form_Service_Constant::IDENTIFIER_TOKENBEHAVIOR]                      = $this->getInvalidTokenBehavior();

        // Store the information
        $this->getStore()->create($this->addPrefix($this->getScope()), $pool);
        $this->setDataPool($pool);

        // Send header
        $this->sendHeader();

        dump($this->getActiveStep());
    }
protected function handleBackgroundDataTransfer ( ) { // Get stored information $ pool = $ this -> getDataPool ( ) ; $ lastValidStep = ( true === $ this -> wasSubmitted ( ) && true === $ this -> isValid ( ) ) ? $ this -> getStep ( ) : $ this -> getDataPoolValue ( Doozr_Form_Service_Constant :: IDENTIFIER_LASTVALIDSTEP ) ; // Collect important information $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_COMPONENTS ] [ $ this -> getActiveStep ( ) ] = $ this -> getComponents ( $ this -> getForm ( ) ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_METHOD ] = $ this -> getMethod ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_STEP ] = $ this -> getActiveStep ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_FILES ] [ $ this -> getActiveStep ( ) ] = $ this -> getFiles ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_STEPS ] = $ this -> getSteps ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_TOKEN ] = $ this -> getToken ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_UPLOAD ] = $ this -> getUpload ( ) ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_LASTVALIDSTEP ] = $ lastValidStep ; $ pool [ Doozr_Form_Service_Constant :: IDENTIFIER_TOKENBEHAVIOR ] = $ this -> getInvalidTokenBehavior ( ) ; // Store the information $ this -> getStore ( ) -> create ( $ this -> addPrefix ( $ this -> getScope ( ) ) , $ pool ) ; $ this -> setDataPool ( $ pool ) ; // Send header $ this -> sendHeader ( ) ; dump ( $ this -> getActiveStep ( ) ) ; }
Handles the data transfer from one request to next one. Important to keep the meta-data being transferred between
two separate requests.

@author Benjamin Carl <opensource@clickalicious.de>
Handles the data transfer from one request to next one . Important to keep the meta - data being transferred between two separate requests .