private static function buildColumnResets($result, $grid)
    {
        foreach (deserialize($result->resets, true) as $row) {
            foreach (array('xs', 'sm', 'md', 'lg') as $size) {
                if (isset($row[$size]) && $row[$size]) {
                    $grid->addColumnReset(($row['column'] - 1), $size);
                }
            }
        }
    }
private static function buildColumnResets($result, $grid)
    {
        foreach (deserialize($result->resets, true) as $row) {
            foreach (array('xs', 'sm', 'md', 'lg') as $size) {
                if (isset($row[$size]) && $row[$size]) {
                    $grid->addColumnReset(($row['column'] - 1), $size);
                }
            }
        }
    }
private static function buildColumnResets ( $ result , $ grid ) { foreach ( deserialize ( $ result -> resets , true ) as $ row ) { foreach ( array ( 'xs' , 'sm' , 'md' , 'lg' ) as $ size ) { if ( isset ( $ row [ $ size ] ) && $ row [ $ size ] ) { $ grid -> addColumnReset ( ( $ row [ 'column' ] - 1 ) , $ size ) ; } } } }
Build the column resets.

@param \Database\Result $result The database result.
@param Grid             $grid   The grid being built.

@return void
Build the column resets .