code/libraries/joomlatools/component/koowa/dispatcher/behavior/decoratable.php
public function getDecorator()
    {
        $request  = $this->getRequest();
        $response = $this->getResponse();

        if($request->getQuery()->tmpl === 'koowa' || $request->getHeaders()->has('X-Flush-Response') || $response->isError()) {
            $result = 'koowa';
        } else {
            $result = $this->getController()->getView()->getDecorator();
        }

        return $result;
    }
public function getDecorator()
    {
        $request  = $this->getRequest();
        $response = $this->getResponse();

        if($request->getQuery()->tmpl === 'koowa' || $request->getHeaders()->has('X-Flush-Response') || $response->isError()) {
            $result = 'koowa';
        } else {
            $result = $this->getController()->getView()->getDecorator();
        }

        return $result;
    }
public function getDecorator ( ) { $ request = $ this -> getRequest ( ) ; $ response = $ this -> getResponse ( ) ; if ( $ request -> getQuery ( ) -> tmpl === 'koowa' || $ request -> getHeaders ( ) -> has ( 'X-Flush-Response' ) || $ response -> isError ( ) ) { $ result = 'koowa' ; } else { $ result = $ this -> getController ( ) -> getView ( ) -> getDecorator ( ) ; } return $ result ; }
Get the decorator name

@return string
Get the decorator name