source/Application/Controller/Admin/LanguageMain.php
protected function _assignDefaultLangParams($aLanguages)
    {
        $aParams = [];
        $iBaseId = 0;

        foreach (array_keys($aLanguages) as $sOxId) {
            $aParams[$sOxId]['baseId'] = $iBaseId;
            $aParams[$sOxId]['active'] = 1;
            $aParams[$sOxId]['sort'] = $iBaseId + 1;

            $iBaseId++;
        }

        return $aParams;
    }
protected function _assignDefaultLangParams($aLanguages)
    {
        $aParams = [];
        $iBaseId = 0;

        foreach (array_keys($aLanguages) as $sOxId) {
            $aParams[$sOxId]['baseId'] = $iBaseId;
            $aParams[$sOxId]['active'] = 1;
            $aParams[$sOxId]['sort'] = $iBaseId + 1;

            $iBaseId++;
        }

        return $aParams;
    }
protected function _assignDefaultLangParams ( $ aLanguages ) { $ aParams = [ ] ; $ iBaseId = 0 ; foreach ( array_keys ( $ aLanguages ) as $ sOxId ) { $ aParams [ $ sOxId ] [ 'baseId' ] = $ iBaseId ; $ aParams [ $ sOxId ] [ 'active' ] = 1 ; $ aParams [ $ sOxId ] [ 'sort' ] = $ iBaseId + 1 ; $ iBaseId ++ ; } return $ aParams ; }
Assign default values for eache language

@param array $aLanguages language array

@return array
Assign default values for eache language