Neos\Neos\View\Service\NodeJsonView::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['nodes'])) {
            $this->setConfiguration(array('nodes' => array('_descendAll' => array('_only' => array('name', 'path', 'identifier', 'properties', 'nodeType')))));
            $this->setVariablesToRender(array('nodes'));
        } else {
            $this->setConfiguration(array('node' => array('_only' => array('name', 'path', 'identifier', 'properties', 'nodeType'))));
            $this->setVariablesToRender(array('node'));
        }
        return parent::render();
    }
NodeJsonView