Ejemplo n.º 1
0
 /**
  * @param ViewComponent $view
  */
 protected function buildViewPrototype(ViewComponent $view)
 {
     $view->setCssBaseTypeClass('view')->setComponentBaseType('view');
 }
Ejemplo n.º 2
0
 /**
  * @param View $view
  * @return string
  * @throws \Exception
  */
 protected function renderView(View $view)
 {
     throw new FormException(sprintf("Cannot render component '%s': rendering view-based content components is not supported in the default view handler!", $view->getFullId()));
 }