Neos\ContentRepository\ViewHelpers\Widget\PaginateViewHelper::render PHP Метод

render() публичный Метод

Render this view helper
public render ( string $as, Neos\ContentRepository\Domain\Model\NodeInterface $parentNode = null, array $nodes = [], string $nodeTypeFilter = null, array $configuration = ['itemsPerPage' => 10, 'insertAbove' => false, 'insertBelow' => true, 'maximumNumberOfLinks' => 99, 'maximumNumberOfNodes' => 0] ) : string
$as string Variable name for the result set
$parentNode Neos\ContentRepository\Domain\Model\NodeInterface The parent node of the child nodes to show (instead of specifying the specific node set)
$nodes array The specific collection of nodes to use for this paginator (instead of specifying the parentNode)
$nodeTypeFilter string A node type (or more complex filter) to filter for in the results
$configuration array Additional configuration
Результат string
    public function render($as, NodeInterface $parentNode = null, array $nodes = array(), $nodeTypeFilter = null, array $configuration = array('itemsPerPage' => 10, 'insertAbove' => false, 'insertBelow' => true, 'maximumNumberOfLinks' => 99, 'maximumNumberOfNodes' => 0))
    {
        $response = $this->initiateSubRequest();
        return $response->getContent();
    }
PaginateViewHelper