Neos\Neos\View\Service\WorkspaceJsonView::render PHP 메소드

render() 공개 메소드

Configures rendering according to the set variable(s) and calls render on the parent.
public render ( ) : string
리턴 string
    public function render()
    {
        if (isset($this->variables['workspaces'])) {
            $this->setConfiguration(array('workspaces' => array('_descendAll' => array())));
            $this->setVariablesToRender(array('workspaces'));
        } else {
            $this->setConfiguration(array('workspace' => array()));
            $this->setVariablesToRender(array('workspace'));
        }
        return parent::render();
    }
WorkspaceJsonView