source/Core/Utils.php
public function assignValuesFromText($sIn, $dVat = null)
    {
        $aRet = [];
        $aPieces = explode('@@', $sIn);
        foreach ($aPieces as $sVal) {
            if ($sVal) {
                $aName = explode('__', $sVal);
                if (isset($aName[0]) && isset($aName[1])) {
                    $aRet[] = $this->_fillExplodeArray($aName, $dVat);
                }
            }
        }

        return $aRet;
    }
public function assignValuesFromText($sIn, $dVat = null)
    {
        $aRet = [];
        $aPieces = explode('@@', $sIn);
        foreach ($aPieces as $sVal) {
            if ($sVal) {
                $aName = explode('__', $sVal);
                if (isset($aName[0]) && isset($aName[1])) {
                    $aRet[] = $this->_fillExplodeArray($aName, $dVat);
                }
            }
        }

        return $aRet;
    }
public function assignValuesFromText ( $ sIn , $ dVat = null ) { $ aRet = [ ] ; $ aPieces = explode ( '@@' , $ sIn ) ; foreach ( $ aPieces as $ sVal ) { if ( $ sVal ) { $ aName = explode ( '__' , $ sVal ) ; if ( isset ( $ aName [ 0 ] ) && isset ( $ aName [ 1 ] ) ) { $ aRet [ ] = $ this -> _fillExplodeArray ( $ aName , $ dVat ) ; } } } return $ aRet ; }
Takes a string and assign all values, returns array with values.

@param string $sIn  Initial string
@param float  $dVat Article VAT (optional)

@return array
Takes a string and assign all values returns array with values .