src/ShopBundle/objects/db/TShopStockMessage.class.php
protected function RenderShippingMessageFromTriggerForQuantity($aMessage = array())
    {
        $sTriggerMessage = $aMessage['oTrigger']->fieldMessage;
        $sString = '<span class="'.$this->getCssClassForMessageForQuantity($aMessage).'">'.
            TGlobal::Translate(
                'chameleon_system_shop.stock_message.different_shipping_time_applies',
                array(
                    '%amount%' => $aMessage['amount'],
                    '%shippingMessage%' => $sTriggerMessage,
                )
            ).'</span>';

        return $sString;
    }
protected function RenderShippingMessageFromTriggerForQuantity($aMessage = array())
    {
        $sTriggerMessage = $aMessage['oTrigger']->fieldMessage;
        $sString = '<span class="'.$this->getCssClassForMessageForQuantity($aMessage).'">'.
            TGlobal::Translate(
                'chameleon_system_shop.stock_message.different_shipping_time_applies',
                array(
                    '%amount%' => $aMessage['amount'],
                    '%shippingMessage%' => $sTriggerMessage,
                )
            ).'</span>';

        return $sString;
    }
protected function RenderShippingMessageFromTriggerForQuantity ( $ aMessage = array ( ) ) { $ sTriggerMessage = $ aMessage [ 'oTrigger' ] -> fieldMessage ; $ sString = '<span class="' . $ this -> getCssClassForMessageForQuantity ( $ aMessage ) . '">' . TGlobal :: Translate ( 'chameleon_system_shop.stock_message.different_shipping_time_applies' , array ( '%amount%' => $ aMessage [ 'amount' ] , '%shippingMessage%' => $ sTriggerMessage , ) ) . '</span>' ; return $ sString ; }
renders the trigger message.

@param array $aMessage

@return string
renders the trigger message .