Esempio n. 1
0
 /**
  * Renders the view and prints it.
  *
  * @return void
  */
 public function render()
 {
     if ($this->layout !== null) {
         ob_start();
         parent::render();
         $content = ob_get_clean();
         $this->layout->setInnerContent($content);
         $this->layout->render();
     } else {
         parent::render();
     }
 }
Esempio n. 2
0
 /**
  * Renders the view and prints it.
  *
  * @return void
  */
 public function render()
 {
     parent::render();
 }