예제 #1
0
 /**
  * Render layout.
  *
  * @param $layout
  * @param array $options
  * @return null|string
  */
 public function renderLayout($layout, $options = [])
 {
     $options['_this'] = $this;
     $options['module'] = $this->_entity;
     return $this->_view->renderFile($layout, $options);
 }