| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @file 4 * Contains the simple display renderer. 5 */ 6 7 /** 8 * The simple display renderer renders a display normally, except each pane 9 * is already rendered content, rather than a pane containing CTools content 10 * to be rendered. Styles are not supported. 11 */ 12 class panels_renderer_simple extends panels_renderer_standard { 13 function render_regions() { 14 $this->rendered['regions'] = array(); 15 foreach ($this->display->content as $region_id => $content) { 16 if (is_array($content)) { 17 $content = implode('', $content); 18 } 19 20 $this->rendered['regions'][$region_id] = $content; 21 } 22 return $this->rendered['regions']; 23 } 24 25 function render_panes() { 26 // NOP 27 } 28 29 function prepare() { 30 $this->prep_run = TRUE; 31 } 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |