protected function renderLeftAndRightGridViewContent($leftTopView, $leftBottomView, $rightTopView, $renderRightSide)
 {
     assert('$leftTopView instanceof View');
     assert('$leftBottomView instanceof View');
     assert('$rightTopView instanceof View || $rightTopView == null');
     assert('is_bool($renderRightSide)');
     $actionView = new ActionBarForUserEditAndDetailsView($this->controllerId, $this->moduleId, $this->params['relationModel'], 'DetailsLink');
     $content = $actionView->render();
     $leftVerticalGridView = new GridView(2, 1);
     $leftVerticalGridView->setView($leftTopView, 0, 0);
     $leftVerticalGridView->setView($leftBottomView, 1, 0);
     $content .= $leftVerticalGridView->render();
     if ($renderRightSide) {
         $rightVerticalGridView = new GridView(1, 1);
         $rightVerticalGridView->setView($rightTopView, 0, 0);
         $content .= $rightVerticalGridView->render();
     }
     return $content;
 }
 /**
  * @param $leftTopView
  * @param $leftBottomView
  * @param $rightTopView
  * @param bool $renderRightSide
  * @return string
  */
 protected function renderLeftAndRightGridViewContent($leftTopView, $leftBottomView, $rightTopView, $renderRightSide)
 {
     assert('$leftTopView instanceof View');
     assert('$leftBottomView instanceof View');
     assert('$rightTopView instanceof View || $rightTopView == null');
     assert('is_bool($renderRightSide)');
     $actionView = new ActionBarForUserEditAndDetailsView($this->controllerId, $this->moduleId, $this->params['relationModel'], 'UserDetailsMenu');
     $content = $actionView->render();
     $leftVerticalGridView = new GridView(2, 1);
     $leftVerticalGridView->setView($leftTopView, 0, 0);
     $leftVerticalGridView->setView($leftBottomView, 1, 0);
     $content .= $leftVerticalGridView->render();
     if ($renderRightSide) {
         $this->setCssClasses(array_merge($this->getCssClasses(), array('double-column')));
         $rightVerticalGridView = new GridView(1, 1);
         $rightVerticalGridView->setView($rightTopView, 0, 0);
         $content .= $rightVerticalGridView->render();
     } else {
         $this->setCssClasses(array_merge($this->getCssClasses(), array('single-column')));
     }
     return $content;
 }