Example #1
0
 /**
  * Pass in the content partials to the rendering function.
  *
  * @param  array $partials  An array of partials
  * @return string           The rendered template
  */
 public function render(array $partials = array())
 {
     if ($this->has_view) {
         $partials = array_merge($this->content->getPartials(), $partials);
     }
     return parent::render($partials);
 }