framework/RedKiteCms/Rendering/PageRenderer/PageRendererBackend.php
public function render(Page $page, array $options = array())
    {
        $slots = $page->getPageSlots();
        $this->slots = $this->renderSlots($page, $slots, $options);

        $event = Dispatcher::dispatch(RenderEvents::PAGE_RENDERED . '.' . strtolower($page->getPageName()), new PageRenderedEvent($page));

        return $event->getPage();
    }
public function render(Page $page, array $options = array())
    {
        $slots = $page->getPageSlots();
        $this->slots = $this->renderSlots($page, $slots, $options);

        $event = Dispatcher::dispatch(RenderEvents::PAGE_RENDERED . '.' . strtolower($page->getPageName()), new PageRenderedEvent($page));

        return $event->getPage();
    }
public function render ( Page $ page , array $ options = array ( ) ) { $ slots = $ page -> getPageSlots ( ) ; $ this -> slots = $ this -> renderSlots ( $ page , $ slots , $ options ) ; $ event = Dispatcher :: dispatch ( RenderEvents :: PAGE_RENDERED . '.' . strtolower ( $ page -> getPageName ( ) ) , new PageRenderedEvent ( $ page ) ) ; return $ event -> getPage ( ) ; }
Renders the page slots from a Page entity
@param \RedKiteCms\FilesystemEntity\Page $page
@param array $options

@return array
Renders the page slots from a Page entity @param \ RedKiteCms \ FilesystemEntity \ Page $page @param array $options