helpers/Foundation.php
public static function registerBlockGridIeSupport($position = \CClientScript::POS_END)
    {
        \Yii::app()->getClientScript()
            ->registerScript(
                __CLASS__,
                "(function($){ $(function(){
                $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
                $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
                $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
                $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
                });})(jQuery);
                ",
                $position
            );
    }
public static function registerBlockGridIeSupport($position = \CClientScript::POS_END)
    {
        \Yii::app()->getClientScript()
            ->registerScript(
                __CLASS__,
                "(function($){ $(function(){
                $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
                $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
                $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
                $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
                });})(jQuery);
                ",
                $position
            );
    }
public static function registerBlockGridIeSupport ( $ position = \ CClientScript :: POS_END ) { \ Yii :: app ( ) -> getClientScript ( ) -> registerScript ( __CLASS__ , "(function($){ $(function(){
                $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
                $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
                $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
                $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
                });})(jQuery);
                " , $ position ) ; }
Registers block-grid support for ie8 if set by its `ie8Support` attribute.
@param int $position the position to render the script
Registers block - grid support for ie8 if set by its ie8Support attribute .