eZ\Publish\Core\MVC\Symfony\Controller\PageController::viewBlockById PHP Метод

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

This method can be used with ESI rendering strategy.
public viewBlockById ( mixed $id, array $params = [], array $cacheSettings = [] ) : Response
$id mixed Block id
$params array
$cacheSettings array settings for the HTTP cache, 'smax-age' and 'max-age' are checked.
Результат Symfony\Component\HttpFoundation\Response
    public function viewBlockById($id, array $params = array(), array $cacheSettings = array())
    {
        return $this->viewBlock($this->pageService->loadBlock($id), $params, $cacheSettings);
    }