public function parseResults($rows)
    {
        $results = array();

        //convert the resulting set into arrays
        foreach ($rows as $item) {
            //iterate over the included and related columns
            $arr = array();

            $this->parseOnTableColumns($item, $arr);

            //then grab the computed, unsortable columns
            $this->parseComputedColumns($item, $arr);

            $results[] = $arr;
        }

        return $results;
    }
public function parseResults($rows)
    {
        $results = array();

        //convert the resulting set into arrays
        foreach ($rows as $item) {
            //iterate over the included and related columns
            $arr = array();

            $this->parseOnTableColumns($item, $arr);

            //then grab the computed, unsortable columns
            $this->parseComputedColumns($item, $arr);

            $results[] = $arr;
        }

        return $results;
    }
public function parseResults ( $ rows ) { $ results = array ( ) ; //convert the resulting set into arrays foreach ( $ rows as $ item ) { //iterate over the included and related columns $ arr = array ( ) ; $ this -> parseOnTableColumns ( $ item , $ arr ) ; //then grab the computed, unsortable columns $ this -> parseComputedColumns ( $ item , $ arr ) ; $ results [ ] = $ arr ; } return $ results ; }
Parses the results of a getRows query and converts it into a manageable array with the proper rendering.

@param Collection $rows

@return array
Parses the results of a getRows query and converts it into a manageable array with the proper rendering .