source/Application/Controller/Admin/ShopConfiguration.php
protected function _multilineToAarray($sMultiline)
    {
        $oStr = getStr();
        $aArr = [];
        $aLines = explode("\n", $sMultiline);
        foreach ($aLines as $sLine) {
            $sLine = trim($sLine);
            if ($sLine != "" && $oStr->preg_match("/(.+)=>(.+)/", $sLine, $aRegs)) {
                $sKey = trim($aRegs[1]);
                $sVal = trim($aRegs[2]);
                if ($sKey != "" && $sVal != "") {
                    $aArr[$sKey] = $sVal;
                }
            }
        }

        return $aArr;
    }
protected function _multilineToAarray($sMultiline)
    {
        $oStr = getStr();
        $aArr = [];
        $aLines = explode("\n", $sMultiline);
        foreach ($aLines as $sLine) {
            $sLine = trim($sLine);
            if ($sLine != "" && $oStr->preg_match("/(.+)=>(.+)/", $sLine, $aRegs)) {
                $sKey = trim($aRegs[1]);
                $sVal = trim($aRegs[2]);
                if ($sKey != "" && $sVal != "") {
                    $aArr[$sKey] = $sVal;
                }
            }
        }

        return $aArr;
    }
protected function _multilineToAarray ( $ sMultiline ) { $ oStr = getStr ( ) ; $ aArr = [ ] ; $ aLines = explode ( "\n" , $ sMultiline ) ; foreach ( $ aLines as $ sLine ) { $ sLine = trim ( $ sLine ) ; if ( $ sLine != "" && $ oStr -> preg_match ( "/(.+)=>(.+)/" , $ sLine , $ aRegs ) ) { $ sKey = trim ( $ aRegs [ 1 ] ) ; $ sVal = trim ( $ aRegs [ 2 ] ) ; if ( $ sKey != "" && $ sVal != "" ) { $ aArr [ $ sKey ] = $ sVal ; } } } return $ aArr ; }
Converts Multiline text to associative array. Returns this array.

@param string $sMultiline Multiline text

@return array
Converts Multiline text to associative array . Returns this array .