public function setMaxColumns($columns, $size = null)
    {
        if (is_null($size)) {
            $size = $this->baseSize;
        }
        $columnAttribute = 'max' . ucfirst($size) . 'Columns';
        $this->{$columnAttribute} = $columns;
    }
public function setMaxColumns($columns, $size = null)
    {
        if (is_null($size)) {
            $size = $this->baseSize;
        }
        $columnAttribute = 'max' . ucfirst($size) . 'Columns';
        $this->{$columnAttribute} = $columns;
    }
public function setMaxColumns ( $ columns , $ size = null ) { if ( is_null ( $ size ) ) { $ size = $ this -> baseSize ; } $ columnAttribute = 'max' . ucfirst ( $ size ) . 'Columns' ; $ this -> { $ columnAttribute } = $ columns ; }
Set max columns.

@param [[@doctodo param_type:columns]] $columns [[@doctodo param_description:columns]]
@param [[@doctodo param_type:size]]    $size    [[@doctodo param_description:size]] [optional]
Set max columns .