You are here

public function dsDisplay::regionsRenderAll in Display Suite 6.3

Wrapper to render all region content

1 call to dsDisplay::regionsRenderAll()
dsDisplay::render in includes/dsDisplay.php
Render content

File

includes/dsDisplay.php, line 524
Class definition for a Display Suite Display object

Class

dsDisplay
The Display Suite Display object

Code

public function regionsRenderAll() {
  $count = 1;
  foreach ($this->regions as $key => $region) {
    if ($this
      ->regionIsActive($key)) {
      $this->regions[$key]['#count'] = $count;
      $this
        ->regionRender($key);
      $count++;
    }
  }
}