public function getColumnWidths()
    {
        foreach ($this->columnWidths as $column => $width) {
            if ($width > $this->maxColumnWidth) {
                $this->columnWidths[$column] = $this->maxColumnWidth;
            } elseif ($width < $this->minColumnWidth) {
                $this->columnWidths[$column] = $this->minColumnWidth;
            }
        }

        return $this->columnWidths;
    }
public function getColumnWidths()
    {
        foreach ($this->columnWidths as $column => $width) {
            if ($width > $this->maxColumnWidth) {
                $this->columnWidths[$column] = $this->maxColumnWidth;
            } elseif ($width < $this->minColumnWidth) {
                $this->columnWidths[$column] = $this->minColumnWidth;
            }
        }

        return $this->columnWidths;
    }
public function getColumnWidths ( ) { foreach ( $ this -> columnWidths as $ column => $ width ) { if ( $ width > $ this -> maxColumnWidth ) { $ this -> columnWidths [ $ column ] = $ this -> maxColumnWidth ; } elseif ( $ width < $ this -> minColumnWidth ) { $ this -> columnWidths [ $ column ] = $ this -> minColumnWidth ; } } return $ this -> columnWidths ; }
Return array containing all column widths, limited to min or max
column width, if one or both of them are set.

@return array
Return array containing all column widths limited to min or max column width if one or both of them are set .