kernel/private/rest/classes/renderers/xhtml_content_renderer.php
public function render()
    {
        $tpl = eZTemplate::factory();
        $ini = eZINI::instance( 'rest.ini' );

        $nodeViewData = eZNodeviewfunctions::generateNodeViewData( $tpl, $this->content->main_node, $this->content->main_node->attribute( 'object' ), $this->content->activeLanguage, 'rest', 0 );

        $tpl->setVariable( 'module_result', $nodeViewData );

        $routingInfos = $this->controller->getRouter()->getRoutingInformation();
        $templateName = $ini->variable( $routingInfos->controllerClass . '_'. $routingInfos->action . '_OutputSettings', 'Template' );

        return $tpl->fetch( 'design:' . $templateName );
    }
public function render()
    {
        $tpl = eZTemplate::factory();
        $ini = eZINI::instance( 'rest.ini' );

        $nodeViewData = eZNodeviewfunctions::generateNodeViewData( $tpl, $this->content->main_node, $this->content->main_node->attribute( 'object' ), $this->content->activeLanguage, 'rest', 0 );

        $tpl->setVariable( 'module_result', $nodeViewData );

        $routingInfos = $this->controller->getRouter()->getRoutingInformation();
        $templateName = $ini->variable( $routingInfos->controllerClass . '_'. $routingInfos->action . '_OutputSettings', 'Template' );

        return $tpl->fetch( 'design:' . $templateName );
    }
public function render ( ) { $ tpl = eZTemplate :: factory ( ) ; $ ini = eZINI :: instance ( 'rest.ini' ) ; $ nodeViewData = eZNodeviewfunctions :: generateNodeViewData ( $ tpl , $ this -> content -> main_node , $ this -> content -> main_node -> attribute ( 'object' ) , $ this -> content -> activeLanguage , 'rest' , 0 ) ; $ tpl -> setVariable ( 'module_result' , $ nodeViewData ) ; $ routingInfos = $ this -> controller -> getRouter ( ) -> getRoutingInformation ( ) ; $ templateName = $ ini -> variable ( $ routingInfos -> controllerClass . '_' . $ routingInfos -> action . '_OutputSettings' , 'Template' ) ; return $ tpl -> fetch ( 'design:' . $ templateName ) ; }
Returns string with rendered content

@return string
Returns string with rendered content