plugin = $plugin; $this->display = &$display; } function prepare($external_settings = NULL) { $this->render_pid = $external_settings; } function render() { // If no requested pid, or requested pid does not exist, if (empty($this->render_pid) || empty($this->display->content[$this->render_pid])) { return NULL; } return $this->render_pane($this->display->content[$this->render_pid]); } function render_single($pid) { return $this->render_pane($this->display->content[$pid]); } }