You are here

function panels_renderer_simple::prepare in Panels 6.3

Same name and namespace in other branches
  1. 7.3 plugins/display_renderers/panels_renderer_simple.class.php \panels_renderer_simple::prepare()

Prepare the attached display for rendering.

This is the outermost prepare method. It calls several sub-methods as part of the overall preparation process. This compartmentalization is intended to ease the task of modifying renderer behavior in child classes.

If you override this method, it is important that you either call this method via parent::prepare(), or manually set $this->prep_run = TRUE.

Parameters

mixed $external_settings: An optional parameter allowing external code to pass in additional settings for use in the preparation process. Not used in the default renderer, but included for interface consistency.

Overrides panels_renderer_standard::prepare

File

plugins/display_renderers/panels_renderer_simple.class.php, line 29
Contains the simple display renderer.

Class

panels_renderer_simple
The simple display renderer renders a display normally, except each pane is already rendered content, rather than a pane containing CTools content to be rendered. Styles are not supported.

Code

function prepare($external_settings = NULL) {
  $this->prep_run = TRUE;
}