public function getLanguageIds($iShopId = null)
    {
        if (empty($iShopId) || $iShopId == \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId()) {
            $aLanguages = $this->getActiveShopLanguageIds();
        } else {
            $aLanguages = $this->_getLanguageIdsFromDatabase($iShopId);
        }

        return $aLanguages;
    }