Ejemplo n.º 1
0
 /**
  * Renders the block contents.
  *
  * @return string
  */
 public function render()
 {
     $out = '';
     for ($i = 0, $c = count($this->contents); $i < $c; ++$i) {
         $content = $this->contents[$i];
         $out .= is_string($content) ? $content : Component::getRenderingOfSet($content);
     }
     return $out;
 }