src/Easy/EasyFormWizard.php
public function commit()
    {
		if(!$this->getDataObj()){
			return true;
		}
    	// commit the form input. call SaveRecord()        
        $recArr = $this->activeRecord;
        
        if (strtoupper($this->formType) == "NEW")
            $dataRec = new DataRecord(null, $this->getDataObj());
        else
        {
            //$currentRec = $this->fetchData(); // wrong way to get current data. need to query the old one
            $currentRec = array(); // to get record with "" values
            $dataRec = new DataRecord($currentRec, $this->getDataObj());
        }

        foreach ($recArr as $k => $v)
            $dataRec[$k] = $v; // or $dataRec->$k = $v;
        try
        {
            $dataRec->save();
        } catch (Openbizx\Data\Exception $e)
        {
            $this->processDataException($e);
            return false;
        }

        return true;
    }
public function commit()
    {
		if(!$this->getDataObj()){
			return true;
		}
    	// commit the form input. call SaveRecord()        
        $recArr = $this->activeRecord;
        
        if (strtoupper($this->formType) == "NEW")
            $dataRec = new DataRecord(null, $this->getDataObj());
        else
        {
            //$currentRec = $this->fetchData(); // wrong way to get current data. need to query the old one
            $currentRec = array(); // to get record with "" values
            $dataRec = new DataRecord($currentRec, $this->getDataObj());
        }

        foreach ($recArr as $k => $v)
            $dataRec[$k] = $v; // or $dataRec->$k = $v;
        try
        {
            $dataRec->save();
        } catch (Openbizx\Data\Exception $e)
        {
            $this->processDataException($e);
            return false;
        }

        return true;
    }
Save wizard data of current+previous pages into database or other storage

@return void