Widget::setView PHP Method

setView() final public method

Set view
final public setView ( string $view = self::DEFAULT_VIEW ) : IWidget
$view string
return IWidget
    public final function setView($view = self::DEFAULT_VIEW)
    {
        $this->view = (string) $view;
        return $this;
    }