public function setOption($key, $value)
    {
        switch ($key) {
            case 'cellDecorator':
                $value = $this->getCellDecorators() + array($value);

            case 'cellDecorators':
                $this->_cellDecorators = $value;
                break;

            default:
                $this->_options[$key] = $value;
                break;
        }

        return $this;
    }
public function setOption($key, $value)
    {
        switch ($key) {
            case 'cellDecorator':
                $value = $this->getCellDecorators() + array($value);

            case 'cellDecorators':
                $this->_cellDecorators = $value;
                break;

            default:
                $this->_options[$key] = $value;
                break;
        }

        return $this;
    }
public function setOption ( $ key , $ value ) { switch ( $ key ) { case 'cellDecorator' : $ value = $ this -> getCellDecorators ( ) + array ( $ value ) ; case 'cellDecorators' : $ this -> _cellDecorators = $ value ; break ; default : $ this -> _options [ $ key ] = $ value ; break ; } return $ this ; }
Set a single option

@param  string $key
@param  mixed $value
@return \Zend_Form_Decorator_Interface
Set a single option