source/Application/Controller/Admin/ShopConfiguration.php
protected function _multilineToArray($sMultiline)
    {
        $aArr = explode("\n", $sMultiline);
        if (is_array($aArr)) {
            foreach ($aArr as $sKey => $sVal) {
                $aArr[$sKey] = trim($sVal);
                if ($aArr[$sKey] == "") {
                    unset($aArr[$sKey]);
                }
            }

            return $aArr;
        }
    }
protected function _multilineToArray($sMultiline)
    {
        $aArr = explode("\n", $sMultiline);
        if (is_array($aArr)) {
            foreach ($aArr as $sKey => $sVal) {
                $aArr[$sKey] = trim($sVal);
                if ($aArr[$sKey] == "") {
                    unset($aArr[$sKey]);
                }
            }

            return $aArr;
        }
    }
protected function _multilineToArray ( $ sMultiline ) { $ aArr = explode ( "\n" , $ sMultiline ) ; if ( is_array ( $ aArr ) ) { foreach ( $ aArr as $ sKey => $ sVal ) { $ aArr [ $ sKey ] = trim ( $ sVal ) ; if ( $ aArr [ $ sKey ] == "" ) { unset ( $ aArr [ $ sKey ] ) ; } } return $ aArr ; } }
Converts Multiline text to simple array. Returns this array.

@param string $sMultiline Multiline text

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