src/ShopRatingServiceBundle/objects/db/TPkgShopRatingService.class.php
public function Render($sViewName = 'RatingService_standard', $sViewSubType = 'pkgShopRatingService/views', $sViewType = 'Customer', $sSpotName = null, $aCallTimeVars = array())
    {
        $sHTML = '';
        $oView = new TViewParser();
        /** @var $oView TViewParser */

        //create view name for this "active" rating-service
        if (!empty($this->fieldAffiliateValue)) {
            $sViewName = $sViewName.'_'.trim($this->fieldAffiliateValue);
        }

        foreach ($aCallTimeVars as $sKeyName => $sValue) {
            if (!empty($sKeyName)) {
                $oView->AddVar($sKeyName, $sValue);
            }
        }

        $sHTML .= $oView->RenderObjectPackageView($sViewName, $sViewSubType, $sViewType);

        return $sHTML;
    }
public function Render($sViewName = 'RatingService_standard', $sViewSubType = 'pkgShopRatingService/views', $sViewType = 'Customer', $sSpotName = null, $aCallTimeVars = array())
    {
        $sHTML = '';
        $oView = new TViewParser();
        /** @var $oView TViewParser */

        //create view name for this "active" rating-service
        if (!empty($this->fieldAffiliateValue)) {
            $sViewName = $sViewName.'_'.trim($this->fieldAffiliateValue);
        }

        foreach ($aCallTimeVars as $sKeyName => $sValue) {
            if (!empty($sKeyName)) {
                $oView->AddVar($sKeyName, $sValue);
            }
        }

        $sHTML .= $oView->RenderObjectPackageView($sViewName, $sViewSubType, $sViewType);

        return $sHTML;
    }
public function Render ( $ sViewName = 'RatingService_standard' , $ sViewSubType = 'pkgShopRatingService/views' , $ sViewType = 'Customer' , $ sSpotName = null , $ aCallTimeVars = array ( ) ) { $ sHTML = '' ; $ oView = new TViewParser ( ) ; /** @var $oView TViewParser */ //create view name for this "active" rating-service if ( ! empty ( $ this -> fieldAffiliateValue ) ) { $ sViewName = $ sViewName . '_' . trim ( $ this -> fieldAffiliateValue ) ; } foreach ( $ aCallTimeVars as $ sKeyName => $ sValue ) { if ( ! empty ( $ sKeyName ) ) { $ oView -> AddVar ( $ sKeyName , $ sValue ) ; } } $ sHTML .= $ oView -> RenderObjectPackageView ( $ sViewName , $ sViewSubType , $ sViewType ) ; return $ sHTML ; }
Render rating-widget for active rating-service.

@param string $sViewName
@param string $sViewSubType
@param string $sViewType
@param null   $sSpotName
@param array  $aCallTimeVars

@return string
Render rating - widget for active rating - service .