$value) { switch($key) { case 'colomn': $this->setColomn($value); break; case 'rows': $this->setRows($value); break; } } } public function setColomn($value) { $this->_colomn = $value; } public function getColomn() { return $this->_colomn; } public function setRows($value) { $this->_rows = $value; } public function getRows() { return $this->_rows; } public function getName() { return self::NAME; } }