public function getColumnResetsAsString($index, $tag = null)
    {
        $tag = $tag ?: 'div';

        return implode(
            PHP_EOL,
            array_map(
                function ($item) use ($tag) {
                    return sprintf(
                        '<%s class="clearfix visible-%s-block"></%s>' . PHP_EOL,
                        $tag,
                        $item,
                        $tag
                    );
                },
                $this->getColumnResets($index)
            )
        );
    }
public function getColumnResetsAsString($index, $tag = null)
    {
        $tag = $tag ?: 'div';

        return implode(
            PHP_EOL,
            array_map(
                function ($item) use ($tag) {
                    return sprintf(
                        '<%s class="clearfix visible-%s-block"></%s>' . PHP_EOL,
                        $tag,
                        $item,
                        $tag
                    );
                },
                $this->getColumnResets($index)
            )
        );
    }
public function getColumnResetsAsString ( $ index , $ tag = null ) { $ tag = $ tag ? : 'div' ; return implode ( PHP_EOL , array_map ( function ( $ item ) use ( $ tag ) { return sprintf ( '<%s class="clearfix visible-%s-block"></%s>' . PHP_EOL , $ tag , $ item , $ tag ) ; } , $ this -> getColumnResets ( $ index ) ) ) ; }
Get column resets as string.

@param int         $index Column index.
@param string|null $tag   Custom html tag. Default divs are created.

@return string
Get column resets as string .