src/ShopRatingServiceBundle/objects/webmodules/MTRatingServiceWidget/MTRatingServiceWidgetCore.class.php
protected function GetRatingService()
    {
        $oRatingServiceItem = null;
        if (!empty($this->oModuleConfig->fieldPkgShopRatingServiceId)) {
            $oRatingServiceItem = TdbPkgShopRatingService::GetNewInstance($this->oModuleConfig->fieldPkgShopRatingServiceId);
        }

        return $oRatingServiceItem;
    }
protected function GetRatingService()
    {
        $oRatingServiceItem = null;
        if (!empty($this->oModuleConfig->fieldPkgShopRatingServiceId)) {
            $oRatingServiceItem = TdbPkgShopRatingService::GetNewInstance($this->oModuleConfig->fieldPkgShopRatingServiceId);
        }

        return $oRatingServiceItem;
    }
protected function GetRatingService ( ) { $ oRatingServiceItem = null ; if ( ! empty ( $ this -> oModuleConfig -> fieldPkgShopRatingServiceId ) ) { $ oRatingServiceItem = TdbPkgShopRatingService :: GetNewInstance ( $ this -> oModuleConfig -> fieldPkgShopRatingServiceId ) ; } return $ oRatingServiceItem ; }
Select right RatingService object.

@return TdbPkgShopRatingService|null
Select right RatingService object .