source/Core/Utils.php
protected function fetchShopAdminById($oxId)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        return $database->getOne("select oxid from oxshops where oxid = " . $database->quote($oxId));
    }
protected function fetchShopAdminById($oxId)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        return $database->getOne("select oxid from oxshops where oxid = " . $database->quote($oxId));
    }
protected function fetchShopAdminById ( $ oxId ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; return $ database -> getOne ( "select oxid from oxshops where oxid = " . $ database -> quote ( $ oxId ) ) ; }
Fetch the oxId from the oxshops table.

@param string $oxId The oxId of the shop.

@return mixed The oxId of the shop with the given oxId.
Fetch the oxId from the oxshops table .