function panels_renderer_standard::render_panes in Panels 6.3
Same name and namespace in other branches
- 7.3 plugins/display_renderers/panels_renderer_standard.class.php \panels_renderer_standard::render_panes()
Render all prepared panes, first by dispatching to their plugin's render callback, then handing that output off to the pane's style plugin.
Return value
array The array of rendered panes, keyed on pane pid.
1 call to panels_renderer_standard::render_panes()
- panels_renderer_standard::render_layout in plugins/
display_renderers/ panels_renderer_standard.class.php - Perform display/layout-level render operations.
1 method overrides panels_renderer_standard::render_panes()
- panels_renderer_simple::render_panes in plugins/
display_renderers/ panels_renderer_simple.class.php - Render all prepared panes, first by dispatching to their plugin's render callback, then handing that output off to the pane's style plugin.
File
- plugins/
display_renderers/ panels_renderer_standard.class.php, line 456
Class
- panels_renderer_standard
- The standard render pipeline for a Panels display object.
Code
function render_panes() {
ctools_include('content');
// First, render all the panes into little boxes.
$this->rendered['panes'] = array();
foreach ($this->prepared['panes'] as $pid => $pane) {
$content = $this
->render_pane($pane);
if ($content) {
$this->rendered['panes'][$pid] = $content;
}
}
return $this->rendered['panes'];
}