public function style($name)
    {
        if ($this->hasStyle($name)) {
            $this->setPresenter($this->getStyle($name));
        }

        return $this;
    }
public function style($name)
    {
        if ($this->hasStyle($name)) {
            $this->setPresenter($this->getStyle($name));
        }

        return $this;
    }
public function style ( $ name ) { if ( $ this -> hasStyle ( $ name ) ) { $ this -> setPresenter ( $ this -> getStyle ( $ name ) ) ; } return $ this ; }
Set new presenter class by given style name.

@param string $name

@return self
Set new presenter class by given style name .