protected function _renderDisplayView($options, $data = [], $returnRaw = false)
    {
        if (array_key_exists('repeated_view', $options) && $options['repeated_view']) {
            return $this->_renderRepeatedDisplayView($options, $data);
        } elseif ($displayView = $this->displayViewOptions($options)) {
            $viewData = [$this->_renderDataName => $data, 'data' => $data];
            $viewData = is_array($data) ? $data + $viewData : $viewData;
            return View::make($displayView, $viewData)->render();
        } elseif ($returnRaw) {
            return (string) $data;
        } else {
            return $this->_renderDisplayViewNotFoundError();
        }
    }
protected function _renderDisplayView($options, $data = [], $returnRaw = false)
    {
        if (array_key_exists('repeated_view', $options) && $options['repeated_view']) {
            return $this->_renderRepeatedDisplayView($options, $data);
        } elseif ($displayView = $this->displayViewOptions($options)) {
            $viewData = [$this->_renderDataName => $data, 'data' => $data];
            $viewData = is_array($data) ? $data + $viewData : $viewData;
            return View::make($displayView, $viewData)->render();
        } elseif ($returnRaw) {
            return (string) $data;
        } else {
            return $this->_renderDisplayViewNotFoundError();
        }
    }
protected function _renderDisplayView ( $ options , $ data = [ ] , $ returnRaw = false ) { if ( array_key_exists ( 'repeated_view' , $ options ) && $ options [ 'repeated_view' ] ) { return $ this -> _renderRepeatedDisplayView ( $ options , $ data ) ; } elseif ( $ displayView = $ this -> displayViewOptions ( $ options ) ) { $ viewData = [ $ this -> _renderDataName => $ data , 'data' => $ data ] ; $ viewData = is_array ( $ data ) ? $ data + $ viewData : $ viewData ; return View :: make ( $ displayView , $ viewData ) -> render ( ) ; } elseif ( $ returnRaw ) { return ( string ) $ data ; } else { return $ this -> _renderDisplayViewNotFoundError ( ) ; } }
Return rendered display block view
@param array $options
@param array $data
@param bool $returnRaw
@return string
Return rendered display block view