public function setProperties(array $properties)
    {
        foreach ($properties as $key => $value) {
            if (array_key_exists($key, $this->properties)) {
                $method = 'set' . ucfirst($key);
                $this->$method($value);
            } else {
                throw new Exception\InvalidArgumentException(__METHOD__ . " property '$key' is not supported in column.");
            }
        }

        return $this;
    }
public function setProperties(array $properties)
    {
        foreach ($properties as $key => $value) {
            if (array_key_exists($key, $this->properties)) {
                $method = 'set' . ucfirst($key);
                $this->$method($value);
            } else {
                throw new Exception\InvalidArgumentException(__METHOD__ . " property '$key' is not supported in column.");
            }
        }

        return $this;
    }
public function setProperties ( array $ properties ) { foreach ( $ properties as $ key => $ value ) { if ( array_key_exists ( $ key , $ this -> properties ) ) { $ method = 'set' . ucfirst ( $ key ) ; $ this -> $ method ( $ value ) ; } else { throw new Exception \ InvalidArgumentException ( __METHOD__ . " property '$key' is not supported in column." ) ; } } return $ this ; }
Set properties for the column.

@throws Exception\InvalidArgumentException

@param array $properties associative array with (header,width,filterable,groupable,sortable,hidden,excluded,editable...)

@return Column
Set properties for the column .